Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
36 | public function testMagicCall() |
||
37 | { |
||
38 | parent::testMagicCall(); |
||
39 | |||
40 | $this |
||
41 | ->given($specificationMock = $this->newDefaultMockTestedInstance()) |
||
42 | ->given($specification = $this->newRandomSpecification()) |
||
43 | ->exception(function () use ($specificationMock, $specification) { |
||
44 | $specificationMock->foo($specification); |
||
45 | }) |
||
46 | ->isInstanceOf(\BadMethodCallException::class) |
||
47 | ; |
||
48 | } |
||
49 | } |
||
50 |