spec\PhpSpec\CodeAnalysis\VisibilityAccessInspectorSpec::it_should_detect_a_public_property PHP Method

it_should_detect_a_public_property() public method

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