@@ -0,0 +1,1660 @@
+package org.wso2.carbon.apimgt.rest.api.authenticator.internal;%0A%0Aimport org.junit.Assert;%0Aimport org.junit.Test;%0Aimport org.mockito.Mockito;%0Aimport org.wso2.carbon.apimgt.rest.api.authenticator.configuration.models.APIMAppConfigurations;%0Aimport org.wso2.carbon.config.ConfigurationException;%0Aimport org.wso2.carbon.config.provider.ConfigProvider;%0A%0Aimport java.util.Map;%0A%0Apublic class ServiceReferenceHolderTestCase %7B%0A    @Test%0A    public void testGetInstance() %7B%0A        ServiceReferenceHolder instance = ServiceReferenceHolder.getInstance();%0A        Assert.assertNotNull(instance);%0A    %7D%0A%0A    public void testGetAPIMAppConfiguration() throws ConfigurationException %7B%0A        ////Happy Path%0A        ServiceReferenceHolder instance = ServiceReferenceHolder.getInstance();%0A        ConfigProvider configProvider = Mockito.mock(ConfigProvider.class);%0A        instance.setConfigProvider(configProvider);%0A        APIMAppConfigurations apimAppConfigurations = new APIMAppConfigurations();%0A        apimAppConfigurations.setApimBaseUrl(%22https://localhost:9292/%22);%0A        Mockito.when(configProvider.getConfigurationObject(Mockito.anyString())).thenReturn(apimAppConfigurations);%0A        instance.getAPIMAppConfiguration();%0A        Assert.assertNotNull(apimAppConfigurations);%0A    %7D%0A%0A    @Test%0A    public void testGetAPIMAppConfigurationWhenConfigProviderIsNull() throws ConfigurationException %7B%0A        ServiceReferenceHolder instance = ServiceReferenceHolder.getInstance();%0A        instance.setConfigProvider(null);%0A        APIMAppConfigurations apimAppConfigurations = instance.getAPIMAppConfiguration();%0A        Assert.assertNotNull(apimAppConfigurations);%0A    %7D%0A%7D%0A

create test cases for authenticator internal