public void MyTestInitialize() { this.RepositoryBook = new BookRepository(); this.MockRepository = new MockRepository(); this.XMLHelper = (IXMLHelper)MockRepository.StrictMock(typeof(IXMLHelper), null); this.RepositoryBook.XMLHelper = XMLHelper; }
public void MyTestCleanup() { this.RepositoryBook = null; this.MockRepository = null; this.XMLHelper = null; }