public void GetApprovedPlayersString_ReturnsCorrectString() { var approvedPlayersString = SheetHelper.GetApprovedPlayersString(_players); var headerMessage = $"{DateHelper.GetNearestGameDateMoscowTime(DateTime.UtcNow).ToRussianDayMonthString()}. Отметились: 7."; var dashedString = MarkupHelper.GetDashedString(); var expectedString = $"{headerMessage}{Environment.NewLine}" + $"{dashedString}{Environment.NewLine}" + $"User3{Environment.NewLine}" + $"User8 x2{Environment.NewLine}" + $"User9 x2{Environment.NewLine}" + $"User16{Environment.NewLine}" + $"User19{Environment.NewLine}" + $"{dashedString}{Environment.NewLine}" + $"Под вопросом: 3.{Environment.NewLine}" + $"User7{Environment.NewLine}" + $"User14{Environment.NewLine}" + $"User15{Environment.NewLine}"; Assert.Equal(expectedString, approvedPlayersString); }