Exemplo n.º 1
0
 public void ReturnsCommaSeperatedOutputWhenPassInComma()
 {
     var formatter = new SimpleSummaryFormatter();
     var outPut = formatter.GetFormattedSummary(GetMocSummary().Object, ',');
     var expectedOutput = "12,8,3,1,12,12,445,322,123,TRUE";
     Assert.That(expectedOutput, Is.EqualTo(outPut));
 }
Exemplo n.º 2
0
 public void ReturnsEmptyStringIfSummaryIsNull()
 {
     var formatter = new SimpleSummaryFormatter();
     var outPut = formatter.GetFormattedSummary(null, ',');
     Assert.IsTrue(string.IsNullOrEmpty(outPut));
 }