| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 7 |
| Ratio | 100 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | View Code Duplication | public function testIsOKJammedOpen() |
|
| 11 | { |
||
| 12 | $foo = m::mock(TSchemaType::class)->makePartial()->shouldAllowMockingProtectedMethods(); |
||
| 13 | $foo->shouldReceive('getRand')->andReturn(2)->once(); |
||
| 14 | |||
| 15 | $this->assertTrue($foo->isOK()); |
||
| 16 | } |
||
| 17 | |||
| 26 |