@Test(description = "test buildAPIConfig method as SuperTenant and ensures" +
        " an APIConfig is created")
public void buildApiConfigAsSuperTenant() throws UserStoreException {

    ServletContext servletContext = new MockServletContext();
    APIResourceConfiguration apiDef = new APIResourceConfiguration();
    List<APIResource> resources = new ArrayList<>();
    apiDef.setResources(resources);
    APIConfig apiConfig = buildApiConfig(servletContext, apiDef);
    Assert.assertNotNull(apiConfig, "API configuration is null.");
}