Exemplo n.º 1
0
        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
        }
Exemplo n.º 3
0
        public void ParameterValidated_BothNullValue_ThrowsException()
        {
            //setup
            var m = new MethodCheckSample();

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

            //act
            m.TwoParameterObjectString(new object(), string.Empty);
            //assert
        }