public it_should_detect_a_method_if_there_is_no_magic_caller_and_wrapped_inspector_finds_none ( Phpspec\CodeAnalysis\AccessInspector $accessInspector ) | ||
$accessInspector | Phpspec\CodeAnalysis\AccessInspector |
function it_should_detect_a_method_if_there_is_no_magic_caller_and_wrapped_inspector_finds_none(AccessInspector $accessInspector)
{
$accessInspector->isMethodCallable(new \StdClass(), 'foo')->willReturn(false);
$this->isMethodCallable(new \StdClass(), 'foo')->shouldReturn(false);
}