@Test
public void testRemovePackageContext() {

  assertTrue(JavaId.removePackageContext("a.b.c.Class").equals("Class"));
  assertTrue(JavaId.removePackageContext("a.b.c.Class$NestedClass").equals("NestedClass"));
  assertTrue(JavaId.removePackageContext("Class").equals("Class"));
}