public void FormatValueToFilter_MappedAsStringButReceivesNullableInt_ReturnsString()
        {
            //prepare
            var mapping = new EnumPropertyMapping <EnumPropertyMappingTest>(_mappingArguments, false);

            //act
            var value = mapping.FormatValueToFilter((int?)EnumTest.Value2);

            //assert
            value.Should().Be.EqualTo("Value2");
        }
        public void FormatValueToFilter_MappedAsIntButReceivesString_ReturnsIntString()
        {
            //prepare
            var mapping = new EnumPropertyMapping <EnumPropertyMappingTest>(_mappingArguments, true);

            //act
            var value = mapping.FormatValueToFilter(EnumTest.Value2);

            //assert
            value.Should().Be.EqualTo("2");
        }