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

Check if an array is empty
public isEmpty ( array $array ) : boolean
$array array The array
Результат boolean TRUE if the array is empty
 /**
  * @test
  * @dataProvider isEmptyExamples
  */
 public function isEmptyWorks($array, $expected)
 {
     $helper = new ArrayHelper();
     $result = $helper->isEmpty($array);
     $this->assertEquals($expected, $result);
 }