@VisibleForTesting
  public boolean isConfiguredResourceName(String resourceName) {
    // check configured
    Map<String, ResourceInformation> configuredResourceTypes =
        ResourceUtils.getResourceTypes();
    if (!configuredResourceTypes.containsKey(resourceName)) {
      return false;
    }
    return true;
  }
@Test(timeout = 30000)
  public void testRequestedResourceNameIsConfigured() {
    ResourcePluginManager rpm = new ResourcePluginManager();
    String resourceName = "a.com/a";
    assertThat(rpm.isConfiguredResourceName(resourceName)).isFalse();
    resourceName = "cmp.com/cmp";
    assertThat(rpm.isConfiguredResourceName(resourceName)).isTrue();
  }