20 lines
440 B
PHP
20 lines
440 B
PHP
<?php
|
|
|
|
namespace Engelsystem\Test\Unit;
|
|
|
|
use Engelsystem\Application;
|
|
use PHPUnit\Framework\MockObject\MockObject;
|
|
|
|
abstract class ServiceProviderTest extends TestCase
|
|
{
|
|
/**
|
|
* @param array $methods
|
|
*/
|
|
protected function getApp(array $methods = ['make', 'instance']): Application|MockObject
|
|
{
|
|
return $this->getMockBuilder(Application::class)
|
|
->onlyMethods($methods)
|
|
->getMock();
|
|
}
|
|
}
|