public function testToStringFalse() { $s = new Boolean(false); $this->assertEquals("false", $s->__toString()); }
/** * This test checks the Boolean's __constructor() method * with a valid string value 'n'. * * @return void */ public function testToStringWithStringValueN() { // initialize a new Boolean instance $boolean = new Boolean('n'); // check that the two boolean are equal $this->assertEquals('false', $boolean->__toString()); }