public function test() { $d = new HttpPHPUnit\NetteDebug(); $this->assertSame("<pre class=\"nette-dump\">\"xxx\" (3)\n</pre>\n", $d->dump('xxx', true)); }
public function testSingleton() { $d1 = HttpPHPUnit\NetteDebug::get(); $d2 = HttpPHPUnit\NetteDebug::get(); $this->assertSame($d1, $d2); }