Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 8 |
Ratio | 100 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
42 | public function testLogicalAndIsTrueIfBothSidesAreTrue($result, $left, $right) |
||
43 | { |
||
44 | $this->mockReturns($this->firstMock, $left); |
||
45 | $this->mockReturns($this->secondMock, $right); |
||
46 | |||
47 | $evaluator = new LogicalAnd($this->firstMock, $this->secondMock); |
||
48 | $this->assertEquals($result, $evaluator->is('2014-01-01')); |
||
49 | } |
||
50 | |||
61 | } |