public void Execute_DirectionDefault_NoOutputParameterSet()
        {
            var procedure = new ParameterDirectionStoredProcedure();

            procedure.ParameterDirectionDefault = "ParameterDirectionDefault";

            ExecuteStoredProcedureSingle<ParameterDirectionStoredProcedureReturn>(procedure);

            Assert.AreEqual("ParameterDirectionDefault", procedure.ParameterDirectionDefault);
        }
        public void Execute_DirectionOutput_OutputParameterSet()
        {
            var procedure = new ParameterDirectionStoredProcedure();

            procedure.ParameterDirectionOutput = "ParameterDirectionOutput";

            ExecuteStoredProcedureSingle<ParameterDirectionStoredProcedureReturn>(procedure);

            Assert.AreEqual("DirectionOutputValue", procedure.ParameterDirectionOutput);
        }
        public void Execute_DirectionDefault_CorrectValueSet()
        {
            var procedure = new ParameterDirectionStoredProcedure();

            procedure.ParameterDirectionDefault = "ParameterDirectionDefault";

            var result = ExecuteStoredProcedureSingle<ParameterDirectionStoredProcedureReturn>(procedure);

            Assert.AreEqual("ParameterDirectionDefault", result.ParameterDirectionDefault);
        }
        public void Execute_DirectionOutput_NoValueSet()
        {
            var procedure = new ParameterDirectionStoredProcedure();

            procedure.ParameterDirectionOutput = "ParameterDirectionOutput";

            var result = ExecuteStoredProcedureSingle<ParameterDirectionStoredProcedureReturn>(procedure);

            Assert.AreEqual(null, result.ParameterDirectionOutput);
        }