public void Should_Not_Fail_Even_If_Queue_Already_Exist()
        {
            var connectionFactory = new Sql.SqlConnection(() =>
            {
                var c = new SqlConnection(localDbCs.FormatWith(_db.Database));
                c.Open();
                return(c);
            });

            var x = new MsSqlQueueManager(connectionFactory, new DefaultSqlQueueTableNameEncoder());

            x.CreateCoreTablesIfNotExist();

            x.CreateQueueIfNotExist("SomeQueue");
            x.CreateQueueIfNotExist("SomeQueue");
        }
        public void Should_Succed_On_Multiple_Queues()
        {
            var connectionFactory = new Sql.SqlConnection(() =>
            {
                var c = new SqlConnection(localDbCs.FormatWith(_db.Database));
                c.Open();
                return(c);
            });

            var x = new MsSqlQueueManager(connectionFactory, new DefaultSqlQueueTableNameEncoder());

            x.CreateCoreTablesIfNotExist();

            x.CreateQueueIfNotExist("SomeQueue1");
            x.CreateQueueIfNotExist("SomeQueue2");


            var queue1 = x.OpenQueue("SomeQueue1");
            var queue2 = x.OpenQueue("SomeQueue2");
        }