public void Can_select_unary_cast_variable_with_implicit_userdefined_type_conversion_expression()
        {
            // ReSharper disable ConvertToConstant.Local
            var intVal = 12;
            // ReSharper restore ConvertToConstant.Local

            var expected = new TestType()
            {
                IntColumn    = 12,
                BoolColumn   = true,
                StringColumn = "test"
            };

            EstablishContext(10, expected);

            var value = new IntWrapper(intVal);

            var actual = OpenDbConnection().Select <TestType>(q => q.IntColumn == value);

            Assert.IsNotNull(actual);
            Assert.AreEqual(1, actual.Count);
            CollectionAssert.Contains(actual, expected);
        }
		public void Can_select_unary_cast_variable_with_implicit_userdefined_type_conversion_expression()
		{
			// ReSharper disable ConvertToConstant.Local
			var intVal = 12;
			// ReSharper restore ConvertToConstant.Local

			var expected = new TestType()
				               {
					               IntColumn = 12,
					               BoolColumn = true,
					               StringColumn = "test"
				               };

			EstablishContext(10, expected);

			var value = new IntWrapper(intVal);

			var actual = OpenDbConnection().Select<TestType>(q => q.IntColumn == value);

			Assert.IsNotNull(actual);
			Assert.AreEqual(1, actual.Count);
			CollectionAssert.Contains(actual, expected);
		}