コード例 #1
0
 public void MyTestInitialize()
 {
     this.RepositoryBook = new BookRepository();
      this.MockRepository = new MockRepository();
      this.XMLHelper = (IXMLHelper)MockRepository.StrictMock(typeof(IXMLHelper), null);
      this.RepositoryBook.XMLHelper = XMLHelper;
 }
コード例 #2
0
 public void MyTestCleanup()
 {
     this.RepositoryBook = null;
      this.MockRepository = null;
      this.XMLHelper = null;
 }