| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 16 | 
| Code Lines | 8 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 1 | 
| 1 | <?php  | 
            ||
| 10 | public function testHandle()  | 
            ||
| 11 |     { | 
            ||
| 12 | $mock = $this->getMockForAbstractClass(RestController::class);  | 
            ||
| 13 | $mock->expects($this->any())  | 
            ||
| 14 |             ->method('handle') | 
            ||
| 15 | ->will($this->returnValue(new Response()));  | 
            ||
| 16 |         $param = $this->getMock('Application\Domain\ValueObjectInterface'); | 
            ||
| 17 | |||
| 18 | /**  | 
            ||
| 19 | * @var $mock \ApiBundle\Controller\RestController  | 
            ||
| 20 | * @var $param \Application\Domain\ValueObjectInterface  | 
            ||
| 21 | */  | 
            ||
| 22 | $response = $mock->handle($param);  | 
            ||
| 23 | |||
| 24 | $this->assertInstanceOf(Response::class, $response);  | 
            ||
| 25 | }  | 
            ||
| 26 | }  | 
            ||
| 27 |