public void ShouldCreateMultipleDirectories()
        {
            var service = new OrmLiteMultiTenantApplicationRegistryService(_connectionFactory);

            using (var db = _connectionFactory.OpenDbConnection())
            {
                db.DropAndCreateTable <ApplicationRegistration>();
            }
            service.RegisterApplication(Directory1);
            service.RegisterApplication(Directory2);

            var result1 = service.ApplicationIsRegistered(Directory1.DirectoryName);
            var result2 = service.ApplicationIsRegistered(Directory2.DirectoryName);

            Assert.True(result1);
            Assert.True(result2);
        }
        public void ShouldNotExist()
        {
            var service = new OrmLiteMultiTenantApplicationRegistryService(_connectionFactory);

            using (var db = _connectionFactory.OpenDbConnection())
            {
                db.DropAndCreateTable <ApplicationRegistration>();
            }
            service.RegisterApplication(Directory1);

            var isRegistered = service.ApplicationIsRegistered(Directory2.DirectoryName);

            Assert.False(isRegistered);
        }