@Test
public void testPopulateWithLoadedFeatures() throws Exception {
List<String> reqLibs = ImmutableList.of("feature1", "feature2");
List<String> loadLibs = ImmutableList.of("feature2");
FeatureResource resource1 = mockResource(true);
FeatureBundle bundle1 = mockBundle("feature1", null, null, Lists.newArrayList(resource1));
FeatureBundle bundle2 = mockBundle("feature2", "export2", "extern2", null);
setupJsUriAndRegistry(UriStatus.VALID_UNVERSIONED,
reqLibs, ImmutableList.of(bundle1, bundle2),