public void PathParserCanWalk() { var pathParser = new PathRouteData(new Uri("http://localhost/foo"), 0); pathParser.MoveToNext(); Assert.Equal("foo", pathParser.CurrentSegment); Assert.True(pathParser.EndOfPath()); }
public void PathParserWithEmptyUri() { var pathParser = new PathRouteData(new Uri("http://localhost"), 0); Assert.True(pathParser.EndOfPath()); }