@Override
  public ImmutableList<String> computeEntrypoint(List<String> jvmFlags) {
    ImmutableList.Builder<String> entrypoint = ImmutableList.builder();
    entrypoint.add("java");
    entrypoint.addAll(jvmFlags);
    entrypoint.add("-jar");
    entrypoint.add(JarLayers.APP_ROOT + "/" + jarPath.getFileName().toString());
    return entrypoint.build();
  }
@Test
  public void testComputeEntrypoint_jvmFlag() throws URISyntaxException {
    Path springBootJar = Paths.get(Resources.getResource(SPRING_BOOT_JAR).toURI());
    SpringBootPackagedProcessor springBootProcessor =
        new SpringBootPackagedProcessor(springBootJar, JAR_JAVA_VERSION);

    ImmutableList<String> actualEntrypoint =
        springBootProcessor.computeEntrypoint(ImmutableList.of("-jvm-flag"));

    assertThat(actualEntrypoint)
        .isEqualTo(ImmutableList.of("java", "-jvm-flag", "-jar", "/app/springboot_sample.jar"));
  }