### Question:
CloudPlatformConnectors { public CloudConnector<Object> getDefault(Platform platform) { Variant variant = getDefaultVariant(platform); return map.get(new CloudPlatformVariant(platform, variant)); }  @PostConstruct void cloudPlatformConnectors(); Variant getDefaultVariant(Platform platform); CloudConnector<Object> getDefault(Platform platform); CloudConnector<Object> get(Platform platform, Variant variant); CloudConnector<Object> get(CloudPlatformVariant variant); PlatformVariants getPlatformVariants();  }### Answer:
@Test public void getDefaultForOpenstack() { CloudConnector conn = c.getDefault(platform("MULTIWITHDEFAULT")); assertEquals("ONE", conn.variant().value()); }
@Test public void getDefaultForGcp() { CloudConnector conn = c.getDefault(platform("SINGLE")); assertEquals("SINGLE", conn.variant().value()); }