### Question:
ServicePluginFactory { public static synchronized ServicePluginFactory getInstance() { if (null == instance) { instance = new ServicePluginFactory(); } return instance; } private  ServicePluginFactory(); static synchronized ServicePluginFactory getInstance(); @SuppressWarnings("unchecked") String doProcessSiteLocation(ServiceDecomposition serviceDecomposition, String uuiRequest); @SuppressWarnings("unchecked") String doTPResourcesAllocation(DelegateExecution execution, String uuiRequest); Map getTPsfromAAI(String serviceName); String preProcessService(ServiceDecomposition serviceDecomposition, String uuiRequest); String doServiceHoming(ServiceDecomposition serviceDecomposition, String uuiRequest); static void main(String args[]); static String getJsonString(Object srcObj);  }### Answer:
@Test public void verifyExternalConfigurationLoading() throws IllegalAccessException { ServicePluginFactory servicePluginFactory = ServicePluginFactory.getInstance(); String oofDefaultEndpoint = (String) FieldUtils.readField(servicePluginFactory, "OOF_DEFAULT_ENDPOINT", true); Assert.assertNotNull(oofDefaultEndpoint); String thirdSpDefaultEndpoint = (String) FieldUtils.readField(servicePluginFactory, "THIRD_SP_DEFAULT_ENDPOINT", true); Assert.assertNotNull(thirdSpDefaultEndpoint); String inventoryOssDefaultEndpoint = (String) FieldUtils.readField(servicePluginFactory, "INVENTORY_OSS_DEFAULT_ENDPOINT", true); Assert.assertNotNull(inventoryOssDefaultEndpoint); }