function it_should_detect_a_public_property() { $this->isPropertyReadable(new ObjectWithPublicProperty(), 'property')->shouldReturn(true); $this->isPropertyWritable(new ObjectWithPublicProperty(), 'property')->shouldReturn(true); }