Exemplo n.º 1
0
        private IClosetRepository CreateMockClosetRepository()
        {
            IClosetRepository repository = MockRepository.GenerateMock <IClosetRepository>();

            repository.Expect(delegate { repository.SaveOrUpdate(null); }).IgnoreArguments();
            return(repository);
        }