public void ValidDollarReferencePatternTest(string key, int pathIndex, int keyGroup, string canonicalForm)
        {
            IPathAndGroupReference amp = new DollarReference("$" + key);

            amp.GetPathIndex().Should().Be(pathIndex);
            amp.GetKeyGroup().Should().Be(keyGroup);
            amp.GetCanonicalForm().Should().Be($"${canonicalForm}");
        }
예제 #2
0
 public override string GetCanonicalForm() =>
 _dRef.GetCanonicalForm();