### Question:
BasicGadgetAdminStore implements GadgetAdminStore { public GadgetAdminData getGadgetAdminData(String container, String gadgetUrl) { GadgetAdminData data = null; if (serverAdminData.hasContainerAdminData(container)) { ContainerAdminData containerData = serverAdminData.getContainerAdminData(container); if (containerData.hasGadgetAdminData(gadgetUrl)) { data = containerData.getGadgetAdminData(gadgetUrl); } } return data; } @Inject  BasicGadgetAdminStore(FeatureRegistryProvider featureRegistryProvider,
          ContainerConfig config, ServerAdminData serverAdminData); void init(String store); GadgetAdminData getGadgetAdminData(String container, String gadgetUrl); void setGadgetAdminData(String container, String gadgetUrl, GadgetAdminData adminData); ContainerAdminData getContainerAdminData(String container); void setContainerAdminData(String container, ContainerAdminData containerAdminData); ServerAdminData getServerAdminData(); boolean checkFeatureAdminInfo(Gadget gadget); boolean isAllowedFeature(Feature feature, Gadget gadget); boolean isWhitelisted(String container, String gadgetUrl); Set<String> getAdditionalRpcServiceIds(Gadget gadget);  }### Answer:
@Test public void testGetGadgetAdminData() { assertEquals(horoscopeAdminData, enabledStore.getGadgetAdminData(DEFAULT, HOROSCOPE)); assertEquals(todoAdminData, enabledStore.getGadgetAdminData(DEFAULT, TODO)); assertEquals(fooAdminData, enabledStore.getGadgetAdminData(DEFAULT, "https: assertEquals(fooAdminData, enabledStore.getGadgetAdminData(DEFAULT, "https: assertNull(enabledStore.getGadgetAdminData("my_container", HOROSCOPE)); assertEquals(httpAdminData, enabledStore.getGadgetAdminData(DEFAULT, "http: }