public function testNeither() { $neither = new Predicate(Predicate::NEITHER); $neither->notIn('color', ['red', 'green'])->notIn('size', ['large', 'small']); $this->object->neither(function (Predicate $predicate) { $predicate->notIn('color', ['red', 'green'])->notIn('size', ['large', 'small']); }); $this->assertEquals([$neither], $this->object->getParams()); }