public function testNoWhitespaceWillThrowException() { $this->setExpectedException(Exception::class); $value = 'lorem ipsum'; Assert::noWhitespace($value); }