spec\PhpSpec\CodeAnalysis\VisibilityAccessInspectorSpec::it_should_reject_an_object_if_the_property_does_not_exist PHP Метод

it_should_reject_an_object_if_the_property_does_not_exist() публичный Метод

    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);
    }