Chinchilla.Integration.Soak.SoakTest.Should C# (CSharp) Method

Should() private method

private Should ( ) : void
return void
        public void Should()
        {
            if (!admin.Create(SoakVHost, new Exchange("HelloWorldMessage")))
            {
                throw new Exception("Could not create exchange");
            }

            if (!admin.Create(SoakVHost, new Queue("sink")))
            {
                throw new Exception("Could not create queue");
            }

            if (!admin.Create(SoakVHost, new Exchange("HelloWorldMessage"), new Queue("sink")))
            {
                throw new Exception("Could not create binding");
            }

            using (var bus = Depot.Connect("localhost/soak"))
            {
                bus.Publish(new HelloWorldMessage());
            }
        }
    }