5253545556575859606162
String correct = Utils.readFile("data/validation/fisk12mapping.txt"); Template template = Template.unserialize(correct); Writer writer = new StringWriter(); template.serialize(writer); assertEquals(correct, writer.toString()); } /**
7576777879808182838485
String correct = "0"; Template template = Template.find(documents); Writer writer = new StringWriter(); template.serialize(writer); assertEquals(correct.trim(), writer.toString().trim()); } /**
979899100101102103104105106107
String correct = "1,2;0"; Template template = Template.find(documents); Writer writer = new StringWriter(); template.serialize(writer); assertEquals(correct.trim(), writer.toString().trim()); } /**
119120121122123124125126127128129
148149150151152153154155156157158
String correct = "0"; Template template = Template.find(documents); Writer writer = new StringWriter(); template.serialize(writer); assertEquals(correct.trim(), writer.toString().trim()); } public void testFind() throws IOException {
165166167168169170171172173174
Utils.readFile("data/test/fisk2.html"), }; Template template = Template.find(documents); Writer writer = new StringWriter(); template.serialize(writer); assertEquals(correct.trim(), writer.toString().trim()); } }