public void GetPathWithoutUserName_returns_null_if_given_path_is_empty() { var sut = new PathSplitter(); var result = sut.GetPathWithoutUserName(new List <string>()); result.Should().BeNull(); }
public void GetPathWithoutUserName_returns_path_without_user_name_based_on_given_path() { var sut = new PathSplitter(); var result = sut.GetPathWithoutUserName(new List <string> { "userName", "targetKey", "file.html" }); result.Should().Be("targetKey/file.html"); }