public void ParameterValidated_BothValue_Calls()
        {
            //setup
            var m = new MethodCheckSample();

            //act
            m.TwoParameterObjectString(new object(), string.Empty);
            //assert
        }
        public void ParameterValidated_BothNullValue_ThrowsException()
        {
            //setup
            var m = new MethodCheckSample();

            //act
            m.TwoParameterObjectString(null, null);
            //assert
        }
        public void ParameterValidated_NullValue_ThrowsException()
        {
            //setup
            var m = new MethodCheckSample();

            //act
            m.SimpleOneParameterString(null);
            //assert
        }
Beispiel #4
0
        public void ParameterValidated_EmptyValue_ThrowsException()
        {
            //setup
            var m = new MethodCheckSample();

            //act
            m.SimpleOneParameterString(string.Empty);
            //assert
        }
Beispiel #5
0
        public void ParameterValidated_BothValue_Calls()
        {
            //setup
            var m = new MethodCheckSample();

            //act
            m.TwoParameterObjectString(new object(), string.Empty);
            //assert
        }
Beispiel #6
0
        public void ParameterValidated_BothNullValue_ThrowsException()
        {
            //setup
            var m = new MethodCheckSample();

            //act
            m.TwoParameterObjectString(null, null);
            //assert
        }