public void SellUsdTest() { BusControl.Publish <SellCurrency>(new { Id = Guid.NewGuid(), Created = DateTime.Now, Amount = 5, Bid = 1 }).GetAwaiter().GetResult(); Assert.True(true); }
public async Task Publish <T>(T @event) where T : class { BusControl = BusControl ?? BuildBus(); await BusControl.Publish(@event); }