public function testIsUrlWillThrowException() { $this->setExpectedException(Exception::class); Assert::isUrl('hello'); }