import com.google.common.io.NullOutputStream;
public class DiagramTest extends JenkowTestCase {
public void testDiagramGeneration() throws Exception {
JenkowWorkflowRepository repo = JenkowPlugin.getInstance().getRepo();
repo.ensureWorkflowDefinition("wf1");
FreeStyleProject launcher = createFreeStyleProject("j1");
DescribableList<Builder,Descriptor<Builder>> bl = launcher.getBuildersList();
bl.add(new JenkowBuilder("wf1"));
bl.add(new Shell("echo wf.done"));