示例#1
0
        public void ValidClass2_Constructor_2Params_s1_IsNull_Throws()
        {
            System.String s1 = null;
            var           i  = new Mock <AutoConstructorTest.Examples.ISomeInterface>().Object;

            var sut = new AutoConstructorTest.Examples.ValidClass2(s1, i);
        }
示例#2
0
        public void ValidClass2_Constructor_2Params_i_IsNull_Throws()
        {
            var s1 = String.Empty;

            AutoConstructorTest.Examples.ISomeInterface i = null;

            var sut = new AutoConstructorTest.Examples.ValidClass2(s1, i);
        }
示例#3
0
        public void ValidClass2_Constructor_3Params_s2_IsNull_Throws()
        {
            var s1 = String.Empty;

            System.String s2 = null;
            var           i  = new Mock <AutoConstructorTest.Examples.ISomeInterface>().Object;

            var sut = new AutoConstructorTest.Examples.ValidClass2(s1, s2, i);
        }