| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | public function testAvailableOn($test, $expected) |
||
| 16 | { |
||
| 17 | $ticketType = new TicketType('z', Price::fromNetCost(new Money(0, 'gbp'), new TaxRate(20)), 'Z'); |
||
| 18 | |||
| 19 | $sut = TicketMetadata::createWithoutDates($ticketType, false); |
||
| 20 | $this->assertEquals($expected, $sut->isAvailableOn($test)); |
||
| 21 | } |
||
| 31 | } |