Example #1
0
 /**
  * Test return_bytes
  *
  * @param   string	Descirption of size in multiples of 1024
  * @param   int		Size in bytes
  *
  * @return void
  * @dataProvider casesReturnBytes
  */
 public function testReturnBytes($bytes, $expected)
 {
     $this->assertThat(JUtility::return_bytes($bytes), $this->equalTo($expected));
 }