/** * This test checks the Integer's equal method. * * @return void */ public function testEquals() { // initialize a new Integer instance $int = new Integer(1); // check that the two Integers are equal $this->assertTrue($int->equals(new Integer(1))); }