@Test
public void parseEntryWithBracesInTheMiddle() throws Exception {

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