### Question:
PriceModellerClient { public static PriceModellerClient getInstance() { if(instance == null) { instance = new PriceModellerClient(); } return instance; } private  PriceModellerClient(); static PriceModellerClient getInstance(); void initializeApplication(String applicationId, int deploymentId, int schemeId); void initializeApplication(String applicationName, int deploymentId, LinkedList<VMinfo> vms); double getAppPredictedCharges(int deploymentId, int schemeID, double iaaSCharges); double getAppPredictedPrice(int deploymentId, int schemeID, double iaaSCharges, long duration); double getAppTotalCharges(int deploymentId, int schemeID, double iaaSCharges); double getEventPredictedCharges(int deploymentId, 
			                               int cpu, 
			                               int ram, 
			                               double storage, 
			                               double energy, 
			                               int schemeId, 
			                               long duration, 
			                               int numberOfevents); double getEventPredictedChargesOfApp(int deplID, LinkedList<VMinfo> vms, double energy,int schemeId); double predictPriceForNextPeriod(int deplID, double duration); double predictPriceForNextHour(int depId, LinkedList<VMinfo> vms);  }### Answer:
@Test public void testSingleton() { PriceModellerClient pmc1 = PriceModellerClient.getInstance(); PriceModellerClient pmc2 = PriceModellerClient.getInstance(); assertEquals(pmc1, pmc2); }