public function testMinutesToPlay() { $fixture = $this->createFixture($this->createTeam(1), $this->createTeam(2)); for ($i = 0; $i <= 10; $i++) { $this->assertGreaterThanOrEqual(90, $this->matchEvaluationService->getMinutesToPlay()); $this->assertLessThanOrEqual(95, $this->matchEvaluationService->getMinutesToPlay()); } $this->matchEvaluationService->evaluateCompleteMatch($fixture); $this->assertEquals(90, $fixture->getMinutesPlayed()); }