public void PassesBuildToConstructor(
     FilePath path,
     BuildStartInfoProvider sut)
 {
     sut.Construct(path);
     sut.StartConstructor.Received(1).Construct("build", path, Arg.Any <string[]>());
 }
 public void PassesExecutionParametersToConstructor(
     FilePath path,
     string execArgs,
     BuildStartInfoProvider sut)
 {
     sut.ExecutionParameters.Parameters.Returns(execArgs);
     sut.Construct(path);
     sut.StartConstructor.Received(1).Construct(
         Arg.Any <string>(), Arg.Any <FilePath>(), execArgs);
 }
 public void ReturnsStartConstructorResults(
     ProcessStartInfo startInfo,
     FilePath path,
     BuildStartInfoProvider sut)
 {
     sut.StartConstructor.Construct(default !, default).ReturnsForAnyArgs(startInfo);