public void Setup() { _productRepositoryMock = new Mock<IProductRepository>(); _guidWrapperMock = new Mock<GuidWrapper>(); _productHandler = new ProductHandler(_productRepositoryMock.Object, _guidWrapperMock.Object); }
public ProductController() { IoC.AddModule<ProductDataXMLDependencyModule>(); _productLoader = IoC.Get<ProductLoader>(); _productHandler = IoC.Get<ProductHandler>(); }