@Test
public void addClass() {

  ApkPackage aPackage = new ApkPackage("a", null);
  ApkClass xClass = aPackage.addClass("X");
  assertEquals("X", xClass.getName());
  assertEquals("a.X", xClass.getFqn());
  assertSame(aPackage, xClass.getParent());
  ApkPackage defaultPackage = new ApkPackage("", null);
  ApkClass yClass = defaultPackage.addClass("Y");
  assertEquals("Y", yClass.getName());
  assertEquals("Y", yClass.getFqn());
  assertSame(defaultPackage, yClass.getParent());
}