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