Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
22 | public function testCreateService() |
||
23 | { |
||
24 | $serviceLocator = new ServiceLocatorDummy($this); |
||
25 | |||
26 | $optionsHelper = $this->getMock('DmFileman\Helper\Options', ['getExtensions', 'getMaxSize'], [], '', false); |
||
27 | $serviceLocator->set('DmFileman\Helper\Options', $optionsHelper); |
||
28 | |||
29 | $result = $this->sut->createService($serviceLocator); |
||
30 | |||
31 | $this->assertInstanceOf('DmFileman\InputFilter\UploadFile', $result); |
||
32 | } |
||
33 | } |
||
34 |