@Test
public void oldInstanceNameIsCorrectlyGuessedNoMethodNoInnerClass() {

    // The instance name format is critical there.
    Smell instance = new Smell("MIM", "g.h.i", sameCommit.newFile);
    Commit commit = new Commit(sameCommit.sha1, 1);
    mockPreviousQualifiedName("d.e.f");
    SmellDuplicationChecker checker = getDuplicationChecker();
    Smell original = checker.original(instance, commit, parent);
    assertNotNull(original);
    assertEquals("d.e.f", original.instance);
    assertEquals(sameCommit.oldFile, original.file);
}