Chinchilla.Integration.Features.Api.RabbitAdminFeature.ShouldCreateVirtualHost C# (CSharp) Метод

ShouldCreateVirtualHost() приватный Метод

private ShouldCreateVirtualHost ( ) : void
Результат 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