GetWhitespaceAfter() private method

private GetWhitespaceAfter ( ITextSource textSource, int offset ) : ISegment
textSource ITextSource
offset int
return ISegment
 public void TestGetWhitespaceAfterEmptyResult()
 {
     Assert.AreEqual(new SimpleSegment(2, 0), TextUtilities.GetWhitespaceAfter(new StringTextSource("a b"), 2));
 }
 public void TestGetWhitespaceAfterUntilEndOfString()
 {
     Assert.AreEqual(new SimpleSegment(2, 3), TextUtilities.GetWhitespaceAfter(new StringTextSource("a \t \t"), 2));
 }
 public void TestGetWhitespaceAfterDoesNotSkipNewLine()
 {
     Assert.AreEqual(new SimpleSegment(2, 3), TextUtilities.GetWhitespaceAfter(new StringTextSource("a \t \tb"), 2));
 }