setDebug() public method

public setDebug ( $flag )
 public function testSetDebug()
 {
     $expected = true;
     $this->assertNull($this->object->setDebug($expected));
     $this->assertEquals($expected, $this->object->isDebug());
 }