public void SetUp() { _mockCommandBus = new Mock <ICommandBus>(); _factory = new FilterViewModelFactory( _mockCommandBus.Object); }
public void CreateFilterViewModel() { IFilterViewModel <UserFilter, UserDto> viewModel = new FilterViewModelFactory(MockRepository.GenerateStub <IUnitOfWorkFactory>()) .Create <UserFilter, UserDto>(); Assert.That(viewModel, Is.Not.Null); }