Chinchilla.Integration.Features.Api.RabbitAdminFeature.ShouldCreateVirtualHost C# (CSharp) Méthode

ShouldCreateVirtualHost() private méthode

private ShouldCreateVirtualHost ( ) : void
Résultat void
        public void ShouldCreateVirtualHost()
        {
            var api = new RabbitAdmin("http://localhost:15672/api");

            api.Delete(new VirtualHost("test"));

            Assert.That(api.Create(new VirtualHost("test")));
            Assert.That(api.VirtualHosts().Any(v => v.Name == "test"));
        }
    }
RabbitAdminFeature