public void SetUp() { _session = MockRepository.GenerateMock<ISession>(); _factory = MockRepository.GenerateMock<IUnitOfWorkFactory>(); }