### Question:
AzureDatabaseServerV4Parameters extends MappableBase { @Override public Map<String, Object> asMap() { Map<String, Object> map = super.asMap(); putIfValueNotNull(map, BACKUP_RETENTION_DAYS, backupRetentionDays); putIfValueNotNull(map, DB_VERSION, dbVersion); putIfValueNotNull(map, GEO_REDUNDANT_BACKUP, geoRedundantBackup); putIfValueNotNull(map, SKU_CAPACITY, skuCapacity); putIfValueNotNull(map, SKU_FAMILY, skuFamily); putIfValueNotNull(map, SKU_TIER, skuTier); putIfValueNotNull(map, STORAGE_AUTO_GROW, storageAutoGrow); return map; }  Integer getBackupRetentionDays(); void setBackupRetentionDays(Integer backupRetentionDays); String getDbVersion(); void setDbVersion(String dbVersion); Boolean getGeoRedundantBackup(); void setGeoRedundantBackup(Boolean geoRedundantBackup); Integer getSkuCapacity(); void setSkuCapacity(Integer skuCapacity); String getSkuFamily(); void setSkuFamily(String skuFamily); String getSkuTier(); void setSkuTier(String skuTier); Boolean getStorageAutoGrow(); void setStorageAutoGrow(Boolean storageAutoGrow); @Override Map<String, Object> asMap(); @Override @JsonIgnore @ApiModelProperty(hidden = true) CloudPlatform getCloudPlatform(); @Override void parse(Map<String, Object> parameters);  }### Answer:
@Test public void testAsMap() { underTest.setBackupRetentionDays(3); underTest.setDbVersion("1.2.3"); assertThat(underTest.asMap()).containsOnly(Map.entry("backupRetentionDays", 3), Map.entry("dbVersion", "1.2.3"), Map.entry("cloudPlatform", "AZURE")); underTest.setSkuCapacity(5); underTest.setSkuFamily("some-family"); underTest.setSkuTier("some-tier"); underTest.setGeoRedundantBackup(true); underTest.setStorageAutoGrow(true); assertThat(underTest.asMap()).containsOnly(Map.entry("backupRetentionDays", 3), Map.entry("dbVersion", "1.2.3"), Map.entry("cloudPlatform", "AZURE"), Map.entry("skuCapacity", 5), Map.entry("skuFamily", "some-family"), Map.entry("skuTier", "some-tier"), Map.entry("geoRedundantBackup", true), Map.entry("storageAutoGrow", true)); }