@Test
public void doSubpackagesHaveClasses() {

  ApkPackage aPackage = new ApkPackage("a", null);
  ApkPackage bPackage = aPackage.addSubpackage("b");
  assertFalse(aPackage.doSubpackagesHaveClasses());
  assertFalse(bPackage.doSubpackagesHaveClasses());
  bPackage.addClass("Class1");
  assertTrue(aPackage.doSubpackagesHaveClasses());
  assertFalse(bPackage.doSubpackagesHaveClasses());
}