public void Convert_WhenValue_ThenSetVisibilityAccoridingToValue(int value, Visibility expectedResult)
        {
            FieldValueToVisibilityConverter testee = new FieldValueToVisibilityConverter();

            var result = testee.Convert(value, typeof(Visibility), null, CultureInfo.CurrentCulture);

            result.Should().Be(expectedResult);
        }
        public void ConvertBack_WhenValue_ThenAlwaysReturnZero(Visibility visibility)
        {
            const int expectedValue = 0;
            FieldValueToVisibilityConverter testee = new FieldValueToVisibilityConverter();

            var result = testee.ConvertBack(visibility, typeof(int), null, CultureInfo.CurrentCulture);

            result.Should().Be(expectedValue);
        }