@Test
public void parsePathInBraces() throws Exception {

    String line = "rename app/src/main/{groovy/com/nbossard/packlist/gui/AboutActivity.groovy => java/com/nbossard/packlist/gui/AboutActivity.java} (59%)";
    GitRename result = GitRename.parseRenamed(line);
    assertEquals("app/src/main/groovy/com/nbossard/packlist/gui/AboutActivity.groovy", result.oldFile);
    assertEquals("app/src/main/java/com/nbossard/packlist/gui/AboutActivity.java", result.newFile);
    assertEquals(59, result.similarity);
}