public function testIsAllNo() { $r = new StructureRenderer(__DIR__, '::'); ob_start(); $r->render(); $content = ob_get_clean(); $this->assertNotContains('Back to all', $content); }
/** * Enable display structure * @see StructureRenderer * @return HttpPHPUnit */ protected function structure() { $open = $this->testDir . '::' . $this->method; $this->onBefore['structure'] = function ($foo, $dir) use($open) { $structure = new StructureRenderer($dir, $open); $structure->render(); }; }