### Question:
DefaultRootVolumeSizeProvider { public int getForPlatform(String platform) { if (!platformVolumeSizeMap.containsKey(platform.toUpperCase())) { LOGGER.debug("No default root volume size found for platform: {}. Falling back to default value of 50 GB. " + "Set '{}' property if '{}' is a valid cloud provider.", platform, ROOT_VOLUME_SIZE_PROPERTY_PREFIX + platform, platform); } return platformVolumeSizeMap.getOrDefault(platform.toUpperCase(), DEFAULT_ROOT_VOLUME_SIZE); } DefaultRootVolumeSizeProvider(CloudPlatformConnectors cloudPlatformConnectors, Environment environment); int getForPlatform(String platform);  }### Answer:
@Test public void testNoPropertySetForKnownPlatform() { underTest = new DefaultRootVolumeSizeProvider(mockConnectors, environment); int rootVolumeSize = underTest.getForPlatform("AWS"); assertEquals(50L, rootVolumeSize); }
@Test public void testPropertySetForKnownPlatform() { System.setProperty("cb.platform.default.rootVolumeSize.GCP", "100"); underTest = new DefaultRootVolumeSizeProvider(mockConnectors, environment); int rootVolumeSize = underTest.getForPlatform("gcp"); assertEquals(100L, rootVolumeSize); }
@Test public void testWithUnknownPlatform() { underTest = new DefaultRootVolumeSizeProvider(mockConnectors, environment); int rootVolumeSize = underTest.getForPlatform("UNKNOWN_PLATFORM"); assertEquals(50L, rootVolumeSize); }