public List<PlatformSpec> getPlatforms() {
    return platforms;
  }
@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());
  }