public ContainerBuildPlan toContainerBuildPlan() {
    return containerBuildPlanBuilder.build();
  }
@Test
  public void testToContainerBuildPlan_default() throws InvalidImageReferenceException {
    ImageConfiguration imageConfiguration =
        ImageConfiguration.builder(ImageReference.parse("base/image")).build();
    JibContainerBuilder containerBuilder =
        new JibContainerBuilder(imageConfiguration, spyBuildContextBuilder);

    ContainerBuildPlan buildPlan = containerBuilder.toContainerBuildPlan();
    Assert.assertEquals("base/image", buildPlan.getBaseImage());
    Assert.assertEquals(ImmutableSet.of(new Platform("amd64", "linux")), buildPlan.getPlatforms());
    Assert.assertEquals(Instant.EPOCH, buildPlan.getCreationTime());
    Assert.assertEquals(ImageFormat.Docker, buildPlan.getFormat());
    Assert.assertEquals(Collections.emptyMap(), buildPlan.getEnvironment());
    Assert.assertEquals(Collections.emptyMap(), buildPlan.getLabels());
    Assert.assertEquals(Collections.emptySet(), buildPlan.getVolumes());
    Assert.assertEquals(Collections.emptySet(), buildPlan.getExposedPorts());
    Assert.assertNull(buildPlan.getUser());
    Assert.assertNull(buildPlan.getWorkingDirectory());
    Assert.assertNull(buildPlan.getEntrypoint());
    Assert.assertNull(buildPlan.getCmd());
    Assert.assertEquals(Collections.emptyList(), buildPlan.getLayers());
  }