@Test
public void java2groovyUpperFolder() {

    // The instance name format is critical there.
    Smell instance = new Smell("MIM", "method#a.b.d$myInnerClass$AnotherInnerClass",
            j2gRename.newFile);
    Commit commit = new Commit(j2gRename.sha1, 1);
    mockPreviousQualifiedName("a.b.c");
    SmellDuplicationChecker checker = getDuplicationChecker();
    Smell original = checker.original(instance, commit, parent);
    assertNotNull(original);
    assertEquals("method#a.b.c$myInnerClass$AnotherInnerClass", original.instance);
    assertEquals(j2gRename.oldFile, original.file);
}