public function testSVG() { $renderer = new Renderer('/usr/local/bin/dot'); $renderer->svg($this->document, './foo.svg'); $this->expectOutputString('/usr/local/bin/dot -Tsvg ./smrtmp -o./foo.svg'); }