function it_should_reject_a_private_property() { $this->isPropertyReadable(new ObjectWithPrivateProperty(), 'property')->shouldReturn(false); $this->isPropertyWritable(new ObjectWithPrivateProperty(), 'property')->shouldReturn(false); }