private IClosetRepository CreateMockClosetRepository() { IClosetRepository repository = MockRepository.GenerateMock <IClosetRepository>(); repository.Expect(delegate { repository.SaveOrUpdate(null); }).IgnoreArguments(); return(repository); }
private IClosetRepository CreateMockClosetRepository() { IClosetRepository repository = MockRepository.GenerateMock <IClosetRepository>(); repository.Expect(delegate { repository.SaveOrUpdate(null); }).IgnoreArguments(); return(repository); }