public void PassesPatcherNameToSanitizer(
     IGroupRun groupRun,
     IPatcherRun patcher,
     FilePath?sourcePath,
     RunParameters runParameters,
     RunArgsConstructor sut)
 {
     sut.GetArgs(groupRun, patcher, sourcePath, runParameters);
     sut.PatcherNameSanitizer.Received(1).Sanitize(patcher.Name);
 }
        public void OutputPathUnderWorkingDirectory(
            IGroupRun groupRun,
            IPatcherRun patcher,
            FilePath?sourcePath,
            RunParameters runParameters,
            RunArgsConstructor sut)
        {
            var result = sut.GetArgs(groupRun, patcher, sourcePath, runParameters);

            result.OutputPath.IsUnderneath(sut.ProfileDirectories.WorkingDirectory)
            .Should().BeTrue();
        }