/** * This test checks the Integer's modulo() method. * * @return void */ public function testModulo() { // initialize a new Integer instance $int = new Integer(11); $remeinder = $int->modulo(new Integer(3)); // check the value $this->assertEquals(2, $remeinder->intValue()); }