Beispiel #1
0
 public void ExtractReplicaName_should_return_true_on_valid_property_name(string appPropertyName, string expectedReplicaName, string expectedTagKind)
 {
     TagsPropertyKey.TryParse(appPropertyName, out var actual).Should().BeTrue();
     actual.Should().NotBeNull();
     actual.ReplicaName.Should().Be(expectedReplicaName);
     actual.TagKind.Should().Be(expectedTagKind);
 }
Beispiel #2
0
 public void ExtractReplicaName_should_return_false_on_invalid_property_name(string appPropertyName)
 {
     TagsPropertyKey.TryParse(appPropertyName, out var actual).Should().BeFalse();
     actual.Should().BeNull();
 }