public function test_that_constructor_takes_message_as_argument() { $message = 'Entry not found'; $exception = new EntryNotFoundException($message); $this->assertSame($message, $exception->getMessage()); }