Example #1
0
        public void Name()
        {
            var name = Guid.NewGuid().ToString();
            var fake = Configuration.ConnectionString;
            var bt   = new BusTopic(name, fake);

            Assert.AreEqual(name, bt.Name);
        }
        public void Setup()
        {
            var random = new Random();

            name = string.Format("a{0}b", random.Next());

            var t = new BusTopic(name, Configuration.ConnectionString);

            t.CreateIfNotExists().Wait();
        }
Example #3
0
        public void Setup()
        {
            var random = new Random();

            this.name = string.Format("a{0}b", random.Next());

            var init = new BusTopic(name, connection);

            init.CreateIfNotExists().Wait();
        }
        public void TearDown()
        {
            var t = new BusTopic(name, Configuration.ConnectionString);

            t.Delete().Wait();
        }
Example #5
0
        public void TearDown()
        {
            var init = new BusTopic(name, connection);

            init.Delete().Wait();
        }