public string Reverse(string input) { string result = CommonStringExtensions.Reverse(input); PexAssert.IsNotNull(result); PexAssert.AreEqual(result.Length, input.Length); CollectionAssert.AreEqual(result.ToCharArray(), input.ToCharArray().Reverse().ToArray()); return(result); }