### Question:
RequireAemImpl implements RequireAem { public boolean isRunningInAdobeCloud() { return runningInAdobeCloud; }  boolean isRunningInAdobeCloud();  }### Answer:
@Test public void isRunningInAdobeCloud_False() { ctx.registerInjectActivateService(new RequireAemImpl(), CLOUD_ONLY_VARIABLE_OSGI_PROPERTY, RequireAemImpl.CLOUD_ONLY_OSGI_PROPERTY_VALUE); RequireAem requireAem = ctx.getService(RequireAem.class); assertFalse(requireAem.isRunningInAdobeCloud()); }
@Test public void isRunningInAdobeCloud_True() { ctx.registerInjectActivateService(new RequireAemImpl(), CLOUD_ONLY_VARIABLE_OSGI_PROPERTY, "p1234"); RequireAem requireAem = ctx.getService(RequireAem.class); assertTrue(requireAem.isRunningInAdobeCloud()); }