assertInstanceOf('html', $object, "Class constructor");
}
/**
* Data for test_quote()
*/
function data_quote()
{
return array(
array('abc', 'abc'),
array('?', '?'),
array('"', '"'),
array('<', '<'),
array('>', '>'),
array('&', '&'),
array('&', '&'),
);
}
/**
* Test for quote()
* @dataProvider data_quote
*/
function test_quote($str, $result)
{
$this->assertEquals(html::quote($str), $result);
}
}