public async Task TopicDoesntExist() { var random = new Random(); var name = string.Format("a{0}b", random.Next()); var client = new BusManagementClient(connection); var exists = await client.TopicExists(name); Assert.IsFalse(exists); }
public async Task CreateTopic() { var random = new Random(); var name = string.Format("a{0}b", random.Next()); var client = new BusManagementClient(connection); await client.TopicCreate(name); var exists = await client.TopicExists(name); Assert.IsTrue(exists); //cleanup await client.TopicDelete(name); }