Exemplo n.º 1
0
 /**
  * This test checks the Boolean's toString() method
  * returns a valid String instance.
  *
  * @return void
  */
 public function testMethodToStringWithStringValueN()
 {
     // initialize a new Boolean instance
     $boolean = new Boolean(true);
     // check that the two boolean are equal
     $this->assertEquals(new Strng('true'), $boolean->toString());
 }