예제 #1
0
 /**
  * Test dump
  *
  * @param   mixed	variable to be dumped
  * @param   bool	Should text be htmlsafe
  * @param   string	expected result
  *
  * @return void
  * @dataProvider casesDump
  */
 public function testDump($value, $htmlsafe, $expected)
 {
     $this->assertThat(JUtility::dump($value, $htmlsafe), $this->equalTo($expected));
 }