### Question:
BaseImageSpec { public List<PlatformSpec> getPlatforms() { return platforms; } @JsonCreator  BaseImageSpec(
      @JsonProperty(value = "image", required = true) String image,
      @JsonProperty("platforms") List<PlatformSpec> platforms); String getImage(); List<PlatformSpec> getPlatforms();  }### Answer:
@Test public void testBaseImageSpec_nullCollections() throws JsonProcessingException { String data = "image: gcr.io/example/jib\n"; BaseImageSpec baseImageSpec = mapper.readValue(data, BaseImageSpec.class); Assert.assertEquals(ImmutableList.of(), baseImageSpec.getPlatforms()); }