public function testIsVersionWillThrowException() { $this->setExpectedException(Exception::class); $value = '1.0.2 beta'; Assert::isVersion($value); }