public void RemoveWhiteSpace() { var test = "\t\r\n "; var remove1 = SledUtil.RemoveWhiteSpace(test); Assert.That(string.Compare(remove1, string.Empty) == 0); test = "\t\r\n a"; remove1 = SledUtil.RemoveWhiteSpace(test); Assert.That(string.Compare(remove1, "a") == 0); }