public void GivenIStartWithACleanBroker() { requestQueue = broker.AddQueue(RequestQueueName); requestQueue.Purge(); responseQueue = broker.AddQueue(ResponseQueueName); responseQueue.Purge(); auditStream.ClearLog(); }
public void GivenIStartWithACleanBroker(string username) { requestQueue = broker.AddQueue($"{username}.req"); requestQueue.Purge(); responseQueue = broker.AddQueue($"{username}.resp"); responseQueue.Purge(); auditStream.ClearLog(); client = TdlClient.Build() .SetHostname(Hostname) .SetPort(Port) .SetUniqueId(username) .SetAuditStream(auditStream) .Create(); }