@@ -0,0 +1,1955 @@
+/*%0A * Copyright 2022 The Bazel Authors. All rights reserved.%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *    http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0Apackage com.google.idea.blaze.base.bazel;%0A%0Aimport com.google.common.collect.ImmutableList;%0Aimport com.google.idea.blaze.base.command.buildresult.BuildFlags;%0Aimport com.google.idea.blaze.base.command.buildresult.BuildResultHelper;%0Aimport com.google.idea.blaze.base.command.buildresult.ParsedBepOutput;%0Aimport java.util.List;%0Aimport java.util.Optional;%0A%0Apublic class FakeBuildResultHelperBep implements BuildResultHelper %7B%0A  private static final ImmutableList.Builder%3CString%3E startupOptions = ImmutableList.builder();%0A  private static final ImmutableList.Builder%3CString%3E cmdlineOptions = ImmutableList.builder();%0A%0A  public FakeBuildResultHelperBep(%0A      ImmutableList%3CString%3E startupOptions, ImmutableList%3CString%3E cmdlineOptions) %7B%0A    FakeBuildResultHelperBep.startupOptions.addAll(startupOptions);%0A    FakeBuildResultHelperBep.cmdlineOptions.addAll(cmdlineOptions);%0A  %7D%0A%0A  @Override%0A  public List%3CString%3E getBuildFlags() %7B%0A    return ImmutableList.of();%0A  %7D%0A%0A  @Override%0A  public ParsedBepOutput getBuildOutput(Optional%3CString%3E completedBuildId)%0A      throws GetArtifactsException %7B%0A    return null;%0A  %7D%0A%0A  @Override%0A  public BuildFlags getBlazeFlags(Optional%3CString%3E completedBuildId) throws GetFlagsException %7B%0A    return new BuildFlags(startupOptions.build(), cmdlineOptions.build());%0A  %7D%0A%0A  @Override%0A  public void close() %7B%7D%0A%7D%0A

Move FakeBuildResultHelperBep to utils package