### Question:
CloudConfig { private Optional<CloudSite> getDefaultCloudSite(String clli) { Optional<CloudSite> cloudSiteOpt = Optional.ofNullable(catalogDbClient.getCloudSite(DEFAULT_CLOUD_SITE_ID)); if (cloudSiteOpt.isPresent()) { CloudSite defaultCloudSite = cloudSiteOpt.get(); CloudSite clone = new CloudSite(defaultCloudSite); clone.setRegionId(clli); clone.setId(clli); return Optional.of(clone); } else { return Optional.empty(); } }  synchronized Optional<CloudSite> getCloudSite(String id); CloudifyManager getCloudifyManager(String id);  }### Answer:
@Test public final void testGetDefaultCloudSite() { Optional<CloudSite> site = con.getCloudSite("NotThere"); assertTrue(site.isPresent()); CloudSite site1 = site.get(); assertEquals("NotThere", site1.getRegionId()); assertEquals("MDT13", site1.getClli()); assertEquals("NotThere", site1.getId()); }