public void testToString() { final PacBioParams params = PacBioParams.builder().create(); TestUtils.containsAll( params.toString(), " directory=" + null, " reads=" + null, " graph=" + null, " trimGraph=" + false); }
public void testAssign() { final List<File> reads = Arrays.asList(new File("foo")); final File graph = new File("graph"); final File out = new File("out"); final PacBioParams pacBioParams = PacBioParams.builder().directory(out).reads(reads).graph(graph).trimGraph(true).create(); assertEquals(graph, pacBioParams.graph()); assertEquals(reads, pacBioParams.reads()); assertEquals(out, pacBioParams.directory()); assertTrue(pacBioParams.trimGraph()); assertEquals(new File(out, "bar"), pacBioParams.file("bar")); }