| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | private function allPerformancesHasAtLeastOneSeason(array $performances) |
||
| 23 | { |
||
| 24 | $this->assertNotEmpty(array_filter($performances, function (Performance $performance) { |
||
| 25 | return !$performance->getSeasons()->isEmpty(); |
||
| 26 | })); |
||
| 27 | $this->assertEmpty(array_filter($performances, function (Performance $performance) { |
||
| 28 | return $performance->getSeasons()->isEmpty(); |
||
| 29 | })); |
||
| 30 | } |
||
| 31 | } |
||
| 32 |