public function testIdentical() { $predicate = Predicates::identical(); $this->assertInstanceOf(BinaryPredicateInterface::class, $predicate); $this->assertTrue($predicate->test(6, 6)); $this->assertFalse($predicate->test(6, "6")); }
function equalTo($value, bool $strict = false) : UnaryPredicateInterface { return Predicates::equalTo($value, $strict); }