public void ConstructWithParametersPreferredConstructorTest()
        {
            this.preferredConstructor = new NStub.CSharp.ObjectGeneration.AssignmentInfoCollection();
            this.testObject = new ConstructorAssignmentCollection(this.preferredConstructor);

            Assert.Throws<ArgumentNullException>(() => new ConstructorAssignmentCollection(null));
        }
Example #2
0
        public void ConstructWithParametersPreferredConstructorTest()
        {
            this.preferredConstructor = new NStub.CSharp.ObjectGeneration.AssignmentInfoCollection();
            this.testObject           = new ConstructorAssignmentCollection(this.preferredConstructor);

            Assert.Throws <ArgumentNullException>(() => new ConstructorAssignmentCollection(null));
        }
 public void TearDown()
 {
     this.testObject = null;
 }
 public void SetUp()
 {
     this.preferredConstructor = new NStub.CSharp.ObjectGeneration.AssignmentInfoCollection();
     this.testObject = new ConstructorAssignmentCollection(this.preferredConstructor);
 }
Example #5
0
 public void TearDown()
 {
     this.testObject = null;
 }
Example #6
0
 public void SetUp()
 {
     this.preferredConstructor = new NStub.CSharp.ObjectGeneration.AssignmentInfoCollection();
     this.testObject           = new ConstructorAssignmentCollection(this.preferredConstructor);
 }