Example #1
0
 public string GetTestName(NStub.CSharp.BuildContext.IMemberBuildContext context, string originalName)
 {
     GetTestNameCalled++;
     return("what a test");
 }
Example #2
0
 public bool Build(NStub.CSharp.BuildContext.IMemberBuildContext context)
 {
     BuildCalled++;
     return(true);
 }
Example #3
0
 public void TearDown()
 {
     this.testObject = null;
     this.context    = null;
     this.mocks      = null;
 }
Example #4
0
 public void SetUp()
 {
     this.mocks      = new MockRepository();
     this.context    = this.mocks.StrictMock <NStub.CSharp.BuildContext.IMemberBuildContext>();
     this.testObject = new ConstructorBuilder(this.context);
 }
Example #5
0
 public void TearDown()
 {
     this.testObject = null;
     this.context = null;
     this.mocks = null;
 }
Example #6
0
 public void SetUp()
 {
     this.mocks = new MockRepository();
     this.context = this.mocks.StrictMock<NStub.CSharp.BuildContext.IMemberBuildContext>();
     this.testObject = new ConstructorBuilder(this.context);
 }