public function testEquals() { $predicate = Predicates::equals(); $this->assertInstanceOf(BinaryPredicateInterface::class, $predicate); $this->assertTrue($predicate->test(6, "6")); $this->assertFalse($predicate->test(6, 7)); }
function equals(bool $strict = false) : BinaryPredicateInterface { return Predicates::equals($strict); }