public function isFailure() { return $this->thrownException() instanceof PHPUnit_Framework_AssertionFailedError; }