public void GetIncreasingDelay(int retries, int expectedDelay) { var evnt = new Event { Retries = retries }; var result = EventSourceService.GetIncreasingDelay(evnt); Assert.That(result, Is.EqualTo(expectedDelay)); }
public ICommandContext <T> Delete(ICommandContext <T> context) { var ctx = EventSourceService.Delete(context); return(DataService.Post(context)); }
public ICommandContext <T> Put(ICommandContext <T> context) { var ctx = EventSourceService.Put(context); return(DataService.Post(ctx)); }