public void ConstructWithParametersPreferredConstructorTest() { this.preferredConstructor = new NStub.CSharp.ObjectGeneration.AssignmentInfoCollection(); this.testObject = new ConstructorAssignmentCollection(this.preferredConstructor); Assert.Throws<ArgumentNullException>(() => new ConstructorAssignmentCollection(null)); }
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); }
public void TearDown() { this.testObject = null; }
public void SetUp() { this.preferredConstructor = new NStub.CSharp.ObjectGeneration.AssignmentInfoCollection(); this.testObject = new ConstructorAssignmentCollection(this.preferredConstructor); }