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])); }
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])); }