public async Task OpenTab_command_sent_to_message_bus_with_ids_set() { await WhenTabCreated(); await _sendEndpoint.Received().Send(Arg.Is <IOpenTabCommand>(command => PropertiesMatch(command))); // don't care too much about other values (TableNumber and waiter name) at the moment - happy setting them to arbitrary values for display purposes - no need to assert them. }
public async Task Open_tab_command_sentAsync() { await CreateTab(); await _sendEndPoint.Received().Send(Arg.Is <OpenTabCommand>(c => CheckCommand(c))); }