@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(); }
@Override protected StagePackageRequest getInvalidRequest() { return StagePackageRequest.builder().build(); }