Pipe\Test\SafetyColonsTest::dataProvider PHP Метод

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

public dataProvider ( )
    function dataProvider()
    {
        return array(array("Adds semicolon when none found", "foo;", "foo"), array("Adds no semicolon when found", "foo;", "foo;"), array("Leave empty strings alone", "", ""), array("Matches semicolon also when whitespace at the end of file", "foo;" . str_repeat(' ', 4), "foo;" . str_repeat(' ', 4)));
    }
SafetyColonsTest