Phan\Tests\Output\Printer\CheckstylePrinterTest::testUTF8CharactersDoNotCauseDOMAttrToFail PHP Method

testUTF8CharactersDoNotCauseDOMAttrToFail() public method

public testUTF8CharactersDoNotCauseDOMAttrToFail ( string $string )
$string string String to check against
    public function testUTF8CharactersDoNotCauseDOMAttrToFail($string)
    {
        $output = new BufferedOutput();
        $printer = new CheckstylePrinter();
        $printer->configureOutput($output);
        $printer->print(new IssueInstance(Issue::fromType(Issue::SyntaxError), 'test.php', 0, [$string]));
        $printer->flush();
    }