ParaTest\Parser\ParserTest_GetClassTest::testParsedAnonymousClassNameHasNoNullByte PHP Method

testParsedAnonymousClassNameHasNoNullByte() public method

    public function testParsedAnonymousClassNameHasNoNullByte()
    {
        if (PHP_VERSION_ID < 70000) {
            return $this->markTestSkipped('php versions prior to php7 does not support anonymous classes');
        }
        $class = $this->parseFile($this->fixture('failing-tests/AnonymousClass.inc'));
        $this->assertNotContains("", $class->getName());
    }