@VisibleForTesting
  Path getBuildFile() {
    if (buildFileUnprocessed == null) {
      return contextRoot.resolve("jib.yaml");
    }
    return buildFileUnprocessed;
  }
@Test
  public void testParse_buildFileDefaultForContext() {
    Build buildCommand =
        CommandLine.populateCommand(
            new Build(), "--target", "test-image-ref", "--context", "test-context");
    assertThat(buildCommand.buildFileUnprocessed).isNull();
    assertThat(buildCommand.getBuildFile()).isEqualTo(Paths.get("test-context/jib.yaml"));
    assertThat(buildCommand.contextRoot).isEqualTo(Paths.get("test-context"));
  }