public void ServerWithTwoDisks_BothDiskCommandsExecutedSuccessfully_BothDisksActive() { var commandResults = GetSingleServerDummyOutputWith2ActivePaths(); var csvRecords = ServerSummaryParser.SummarizeServerRecords(commandResults.ToLookup(r => r.ServerName)); CsvWriter.WriteToFile(CsvFileName, csvRecords); }
public void ServerWithTwoDisks_ThirdDiskNotFound_TwoDisksActive() { var commandResults = GetSingleServerDummyOutputWith2ActivePaths().ToList(); commandResults.Add(new MpClaimCommandResult { ServerName = commandResults[0].ServerName, DiskIndexNumber = 2, CommandExecutedSuccessfully = false, CommandFailureReason = "Cannot find specified drive number" }); var csvRecords = ServerSummaryParser.SummarizeServerRecords(commandResults.ToLookup(r => r.ServerName)); CsvWriter.WriteToFile(CsvFileName, csvRecords); }