public void Split_followed_by_Combine_should_not_change_path(string path) { var expected = path; for (var i = 0; i < 10; i++) { path = ZooKeeperPath.Combine(ZooKeeperPath.Split(path)); } path.Should().Be(expected); }
public void Split_should_split_by_slashes(string path, string[] expected) { ZooKeeperPath.Split(path).Should().BeEquivalentTo(expected, options => options.WithStrictOrdering()); }