public void GetMetadata_indicates_it_can_convert_for_all_supported_predicate_names_and_values(StoryPointsConversionStrategy sut, int value)
        {
            var supportedPredicates = new[] {
                PredicateName.Equals,
                PredicateName.NotEquals,
                PredicateName.GreaterThan,
                PredicateName.GreaterThanOrEqual,
                PredicateName.LessThan,
                PredicateName.LessThanOrEqual,
            };

            foreach (var predicate in supportedPredicates)
            {
                var criterion = Criterion.FromElementPredicateAndConstantValue(ElementName.StoryPoints, predicate, value.ToString());
                Assert.That(() => sut.GetMetadata().CanConvertAsPredicateWithValue(criterion), Is.True, $"Can convert for predicate '{predicate}'");
            }
        }
        public void GetMetadata_indicates_it_can_convert_for_an_isanyof_function(StoryPointsConversionStrategy sut, int value1, int value2)
        {
            var criterion = Criterion.FromElementAndPredicateFunctionWithConstantValues(ElementName.StoryPoints, PredicateName.Function.IsAnyOf, value1.ToString(), value2.ToString());

            Assert.That(() => sut.GetMetadata().CanConvertAsPredicateFunction(criterion), Is.True);
        }
        public void GetMetadata_indicates_it_can_convert_for_an_isempty_function(StoryPointsConversionStrategy sut)
        {
            var criterion = Criterion.FromElementAndPredicateFunctionWithConstantValues(ElementName.StoryPoints, PredicateName.Function.IsEmpty);

            Assert.That(() => sut.GetMetadata().CanConvertAsPredicateFunction(criterion), Is.True);
        }