public function testItShouldCheckIfIsNightThrowsException() { $this->setExpectedException(Exception::class); Assert::isNight('12:15:00'); }