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

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

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