public async Task CreateTopologyFromFileAsync() { var options = await JsonFileReader.ReadFileAsync <RabbitOptions>("TestConfig.json"); var top = new Topologer(options); await top .CreateTopologyFromFileAsync("TestTopologyConfig.json") .ConfigureAwait(false); }
public async Task CreateTopologyFromPartialFileAsync() { var config = await ConfigReader.ConfigFileReadAsync("TestConfig.json"); var top = new Topologer(config); await top .CreateTopologyFromFileAsync("TestPartialTopologyConfig.json") .ConfigureAwait(false); }