public void save_should_save_on_the_session()
        {
            var entity = new DummyDomainEntity();
            _repo.Save(entity);

            _session.AssertWasCalled(s => s.SaveOrUpdate(entity));
        }
Beispiel #2
0
        public void save_should_save_on_the_session()
        {
            var entity = new DummyDomainEntity();

            _repo.Save(entity);

            _session.AssertWasCalled(s => s.SaveOrUpdate(entity));
        }