コード例 #1
0
 @Override
 protected StagePackageRequest getValidRequest() {
   return StagePackageRequest.builder()
       .packageId("test-package-id")
       .environmentVariable("CUSTOM_ENV_VAR", "hello")
       .lifecycle(
           Lifecycle.builder()
               .type("buildpack")
               .data("buildpack", "http://github.com/myorg/awesome-buildpack")
               .data("stack", "cflinuxfs2")
               .build())
       .build();
 }
コード例 #2
0
 @Override
 protected StagePackageRequest getInvalidRequest() {
   return StagePackageRequest.builder().build();
 }