public function itShouldReturnMessage() { try { throw new InvalidToolInterfaceException('tool_name'); } catch (InvalidToolInterfaceException $e) { $this->assertTrue(is_string($e->getMessage())); } }