RegionPluginProperties { public List<String> getWhitelistedRegions() { if (whitelistedRegions.isEmpty()) { return DEFAULT_REGIONS; } return whitelistedRegions; }  List<String> getWhitelistedRegions(); void setWhitelistedRegions(final List<String> whitelistedRegions);  }
@Test public void testDefaultRegions() { final RegionPluginProperties properties = new RegionPluginProperties(); Assertions.assertThat(properties.getWhitelistedRegions()).contains("eu-central-1", "eu-west-1"); }