示例#1
0
 public void SetUp()
 {
     this.mocks        = new MockRepository();
     this.context      = this.mocks.StrictMock <NStub.CSharp.BuildContext.IMemberSetupContext>();
     this.buildcontext = this.mocks.StrictMock <NStub.CSharp.BuildContext.IMemberBuildContext>();
     this.testObject   = new PropertyBuilder(this.context);
 }
示例#2
0
 public void SetUp()
 {
     this.mocks = new MockRepository();
     this.context = this.mocks.StrictMock<NStub.CSharp.BuildContext.IMemberSetupContext>();
     this.buildcontext = this.mocks.StrictMock<NStub.CSharp.BuildContext.IMemberBuildContext>();
     this.testObject = new PropertyBuilder(this.context);
 }