public void Setup()
        {
            _stuffCategory = new StuffCategory { Name = "DVD Film" };

            _stuffCategoryRepository = MockRepository.GenerateStub<IStuffCategoryRepository>();
            _stuffCategoryRepository.Stub(x => x.GetAll()).Return(new[] { _stuffCategory });
        }
 public StuffViewModelFactory(IStuffCategoryRepository stuffCategoryRepository,
     IStuffView[] stuffViews, 
     IProfilerWrapper profilerWrapper)
 {
     _stuffCategoryRepository = stuffCategoryRepository;
     _stuffViews = stuffViews;
     _profilerWrapper = profilerWrapper;
 }
 public StuffCategoryIndexViewModelFactory(IStuffCategoryRepository categoryRepository)
 {
     _categoryRepository = categoryRepository;
 }
 public StuffCategoryService(IStuffCategoryRepository stuffCategoryRepository, IUnitOfWork unitOfWork)
 {
     _unitOfWork = unitOfWork;
     _stuffCategoryRepository = stuffCategoryRepository;
 }