public void CutEndReturnsProperString() { var result = StringFormatter.CutEnd("Test run finished in 1.1 sec. 5 total tests.", 10, numberOfPeriods: 3); Assert.Equal("Test ru...", result); }