Ejemplo n.º 1
0
 public function testAll()
 {
     $utils = new Utils();
     $this->assertTrue($utils->all(null, [null, null]));
     $this->assertTrue($utils->all(1, [1, 1]));
     $this->assertFalse($utils->all(1, [1, '1']));
     $this->assertFalse($utils->all(null, ['', null]));
 }