public function testValidationException() { $e = new ValidationException("This is a message for users.", "This is a message for the log."); $this->assertEquals($e->getUserMessage(), "This is a message for users."); $this->assertEquals($e->getLogMessage(), "This is a message for the log."); }