public void Convert_WhenValueArgumentIsNotBool_ShouldThrow()
        {
            // Arrange
            var converter = new BoolToResizeModeConverter();

            // Act, Assert
            Should.Throw <ArgumentException>(() => converter.Convert("random" as object, null, null, null))
            .Message.ShouldBe("Wrong data type. Expected a boolean");
        }
        public void Convert_WhenValueArgumentIsBool_ShouldReturnCorrespondingResizeMode(bool value, ResizeMode mode)
        {
            // Arrange
            var converter = new BoolToResizeModeConverter();

            // Act
            var result = converter.Convert(value, null, null, null);

            // Assert
            ((ResizeMode)result).ShouldBe(mode);
        }