function it_should_detect_a_public_method() { $this->isMethodCallable(new ObjectWithPublicMethod(), 'method')->shouldReturn(true); }