コード例 #1
0
 /**
  * Execute a cleanText test case.
  *
  * The test framework calls this function once for each element in the array
  * returned by the named data provider.
  *
  * @param   string  $data    The original output
  * @param   string  $expect  The expected result for this test.
  *
  * @dataProvider dataSet
  * @return void
  */
 public function testCleanText($data, $expect)
 {
     $this->assertEquals($expect, OutputFilter::cleanText($data));
 }