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