Exemple #1
0
        public void TypeCodeDomSerializer_Deserialize_CodeTypeDec_Null()
        {
            var mockSerializationManager = new Mock <DesignerSerializationManager>(MockBehavior.Strict);
            var underTest = new TypeCodeDomSerializer();

            Assert.Throws <ArgumentNullException>(() => underTest.Deserialize(mockSerializationManager.Object, null));
        }
Exemple #2
0
        public void TypeCodeDomSerializer_Deserialize_Manager_Null()
        {
            var underTest = new TypeCodeDomSerializer();

            Assert.Throws <ArgumentNullException>(() => underTest.Deserialize(null, null));
        }