public function testEqualsWillThrowException2() { $this->setExpectedException(Exception::class); $value = '1'; $comparedValue = '2'; $identical = false; Assert::equals($value, $comparedValue, $identical); }