@Test public void testMultipleFilesPickNonExistant() { ParamLayoutFormatter a = new FileLink(); a.setArgument("doc"); assertEquals("", a.format("paper:test.pdf:PDF;presentation:pres.ppt:PPT")); }
@Test public void testMultipleFiles() { ParamLayoutFormatter a = new FileLink(); assertEquals("test.pdf", a.format("paper:test.pdf:PDF;presentation:pres.ppt:PPT")); }