public async Task TestSendAsyncBeSucess() { _queueBus.Setup(x => x.SendAsync(_busModel.Message)); var callback = await _busController.SendAsync(_busModel); callback.Should().BeAssignableTo <CreatedResult>(); }