### Question:
AwsNetworkV4Parameters extends MappableBase { @Override public Map<String, Object> asMap() { Map<String, Object> map = super.asMap(); putIfValueNotNull(map, "subnetId", subnetId); return map; }  String getSubnetId(); void setSubnetId(String subnetId); @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.setSubnetId("subnet-1234"); Map<String, Object> map = underTest.asMap(); assertEquals("subnet-1234", map.get("subnetId")); }