Пример #1
0
        public void Transfer_Events()
        {
            Assert.Ignore();
            List <SavingEvent> events = _saving.Transfer(_savingTarget, 50, 0, DateTime.Today, "Transfer description");

            events[0].Id = _savingEventManager.Add(events[0], _saving.Id);
            events[1].Id = _savingEventManager.Add(events[1], _saving.Id);
            SavingEvent e1 = _savingEventManager.SelectEvents(_saving.Id, _saving.Product).Find(item => item.Id == events[0].Id);
            SavingEvent e2 = _savingEventManager.SelectEvents(_saving.Id, _saving.Product).Find(item => item.Id == events[1].Id);

            CompareEvent(events[0], e1);
            CompareEvent(events[1], e2);
        }