@Test
public void testRenameInternalType() {

    // a descriptor is not left untouched
    assertEquals("Lorg.blah.New;", mOuter.renameInternalType("Lcom.pack.Old;"));
    assertEquals("Lorg.blah.New$Inner;", mOuter.renameInternalType("Lcom.pack.Old$Inner;"));
    // an actual FQCN
    assertEquals("org.blah.New", mOuter.renameInternalType("com.pack.Old"));
    assertEquals("org.blah.New$Inner", mOuter.renameInternalType("com.pack.Old$Inner"));
    assertEquals("org.blah.New$Other", mInner.renameInternalType("com.pack.Old$Other"));
    assertEquals("org.blah.New$Other", mInner.renameInternalType("com.pack.Old$Other"));
}