public void GetTags_should_not_returns_not_valid_tag_kinds() { IApplicationInfoProperties properties = new TestApplicationInfoProperties(); var replica = "replica"; var otherTags = new TagCollection { { "tag4", "v1" } }; properties = properties.Set(new TagsPropertyKey(replica, "other").ToString(), otherTags.ToString()); properties.GetTags().Should().BeEmpty(); properties.GetReplicaTags(replica).Should().BeEmpty(); var persistentTags = new TagCollection { { "tag", "value" } }; properties = properties.AddReplicaTags(replica, ReplicaTagKind.Persistent, persistentTags); properties.GetTags().Should().BeEquivalentTo(new Dictionary <string, TagCollection> { { replica, persistentTags } }); properties.GetReplicaTags(replica).Should().BeEquivalentTo(persistentTags); }