You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
495 B
PHP
22 lines
495 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($methods = ['make', 'instance'])
|
|
{
|
|
/** @var Application|MockObject $app */
|
|
return $this->getMockBuilder(Application::class)
|
|
->setMethods($methods)
|
|
->getMock();
|
|
}
|
|
}
|