assertTrue(method_exists($object, $method), sprintf('The object %s does not have the method %s', get_class($object), $method)); } }