public function testItShouldCheckIfIsSundayThrowsException() { $this->setExpectedException(Exception::class); Assert::isSunday('2014-09-29'); }