@Test
public void testAppLevelRequiredAndDefaultProperties()
{

  List<AppPackage.AppInfo> applications = ap.getApplications();
  for (AppPackage.AppInfo app : applications) {
    if (app.name.equals("MyFirstApplication")) {
      String[] rp = app.requiredProperties.toArray(new String[]{});
      Assert.assertEquals("dt.test.required.2", rp[0]);
      Assert.assertEquals("dt.test.required.3", rp[1]);
      Assert.assertEquals("app-default-for-required-1", app.defaultProperties.get("dt.test.required.1").getValue());
      Assert.assertEquals("app-default-for-required-1-description", app.defaultProperties.get("dt.test.required.1").getDescription());
      return;
    }
  }
  Assert.fail("Should consist of an app called MyFirstApplication");
}