public void ItShouldRemoveTheTrailingSlash(string inputUrl, string expectedUrl) { var result = FacebookWebUtils.RemoveTrailingSlash(inputUrl); Assert.Equal(expectedUrl, result); }
public void ItShouldBeTheSameAsInput(string input, string expected) { var result = FacebookWebUtils.RemoveTrailingSlash(input); Assert.Equal(expected, result); }
public void ItShouldReturnEmptyString() { var result = FacebookWebUtils.RemoveTrailingSlash(""); Assert.Equal(string.Empty, result); }
public void TheResultShouldBeEmptyString() { var result = FacebookWebUtils.RemoveTrailingSlash("/"); Assert.Equal(string.Empty, result); }