### Question:
GraphViz implements Renderer { public void setDebugMode (boolean value) { mInDebugMode = value; } GraphViz();  GraphViz(String path);  GraphViz(String path, String defaultType); void setDebugMode(boolean value); boolean inDebugMode(); @Override void setDefaultFileType(String fileType); @Override String getDefaultFileType(); @Override void write(String filename, DirectedGraph graph); @Override void write(String filename, String fileType, DirectedGraph graph); @Override void writeDirected(DirectedGraph graph, PrintWriter writer); @Override void writeDirected(DirectedGraph graph, String filename); @Override void writeDirected(DirectedGraph graph, String filename, String fileType);  }### Answer:
@Test public void testSetDebugMode () { GraphViz graphViz = new GraphViz (""); assertFalse (graphViz.inDebugMode ()); graphViz.setDebugMode (true); assertTrue (graphViz.inDebugMode ()); }