function it_should_reject_a_private_method() { $this->isMethodCallable(new ObjectWithPrivateMethod(), 'method')->shouldReturn(false); }