private static void ShouldMatchOne(UriTemplate uriTemplate, SpecListTestCase testCase, bool isPartial)
        {
            string result = uriTemplate.WithPartialExpand(isPartial).ExpandToString();

            result.Should()
            .BeOneOf(testCase.Results);
        }
        private static void ShouldMatch(UriTemplate uriTemplate, SpecStringTestCase testCase, bool isPartial)
        {
            string result = uriTemplate.WithPartialExpand(isPartial).ExpandToString();

            result.ShouldBeEquivalentTo(testCase.Result);
        }
        private static void ShouldFail(UriTemplate uriTemplate, bool isPartial)
        {
            Action job = () => uriTemplate.WithPartialExpand(isPartial).ExpandToString();

            job.ShouldThrow <UriTemplateException>();
        }