public void GetIncreasingDelay(int retries, int expectedDelay)
        {
            var evnt = new Event {
                Retries = retries
            };
            var result = EventSourceService.GetIncreasingDelay(evnt);

            Assert.That(result, Is.EqualTo(expectedDelay));
        }
Пример #2
0
        public ICommandContext <T> Delete(ICommandContext <T> context)
        {
            var ctx = EventSourceService.Delete(context);

            return(DataService.Post(context));
        }
Пример #3
0
        public ICommandContext <T> Put(ICommandContext <T> context)
        {
            var ctx = EventSourceService.Put(context);

            return(DataService.Post(ctx));
        }