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