@Test
public void testParse() throws IOException {
String diff = readFile("src/test/resources/diff-example-1.txt");
ExtractedData data = new ExtractedData()
.setRepositoryFilter(new RepositoryFilter(null, null));
SvnDiffHandler diffParser = new SvnDiffHandler(data);
ChangeSet changeSet = new ChangeSet(1000, new Author("sergio"));
diffParser.parse(diff, changeSet);
assertEquals(1, data.getFiles().size());
assertEquals(5, data.getFileByFilename("/core/src/core/org/jnode/vm/VmReflection.java").getAddedLoc());
assertEquals(6, data.getFileByFilename("/core/src/core/org/jnode/vm/VmReflection.java").getDeletedLoc());
}