Пример #1
0
 /**
  * This test checks the Integer's multiply() method.
  *
  * @return void
  */
 public function testMultiply()
 {
     // initialize a new Integer instance
     $int = new Integer(10);
     $int->multiply(new Integer(10));
     // check the value
     $this->assertEquals(100, $int->intValue());
 }