PHPUnit\Runner\CleverAndSmart\Unit\UtilTest::testGetInvalidProperty PHP Method

testGetInvalidProperty() public method

    public function testGetInvalidProperty()
    {
        $this->setExpectedException('PHPUnit\\Runner\\CleverAndSmart\\Exception\\PropertyReflectionException', 'Property "invalidProperty" does not exist in hierarchy PHPUnit\\Runner\\CleverAndSmart\\Unit\\Child < PHPUnit\\Runner\\CleverAndSmart\\Unit\\Mother');
        Util::getInvisibleProperty(new Child(), 'invalidProperty');
    }