blob: ee5e31516f0bd46305af0b2b46fd1f447d19aebd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<?php
namespace Engelsystem\Test\Unit;
use Engelsystem\Application;
use PHPUnit_Framework_MockObject_MockObject as MockObject;
abstract class ServiceProviderTest extends TestCase
{
/**
* @param array $methods
* @return Application|MockObject
*/
protected function getApp($methods = ['make', 'instance'])
{
/** @var MockObject|Application $app */
return $this->getMockBuilder(Application::class)
->setMethods($methods)
->getMock();
}
}
|