function it_should_not_detect_a_getter_if_there_is_no_magic_getter_and_wrapped_inspector_finds_none(AccessInspector $accessInspector) { $accessInspector->isPropertyReadable(new \StdClass(), 'foo')->willReturn(false); $this->isPropertyReadable(new \StdClass(), 'foo')->shouldReturn(false); }