public StorageModels() {
        this.models = new ArrayList<>();
        this.columnNameOverrideRule = new HashMap<>();
        this.listeners = new ArrayList<>();
    }
@Test
    public void testStorageModels() throws StorageException {
        StorageModels models = new StorageModels();
        models.add(TestModel.class, -1,
                   new Storage("StorageModelsTest", false, DownSampling.Hour)
        );

        final List<Model> allModules = models.allModels();
        assertEquals(1, allModules.size());

        final Model model = allModules.get(0);
        assertEquals(4, model.getColumns().size());
        assertFalse(model.getColumns().get(0).isStorageOnly());
        assertFalse(model.getColumns().get(1).isStorageOnly());
        assertFalse(model.getColumns().get(2).isStorageOnly());
        Assertions.assertTrue(model.getColumns().get(3).isStorageOnly());

        assertArrayEquals(new String[] {
            "column2",
            "column"
        }, model.getColumns().get(2).getSqlDatabaseExtension().getIndices().get(1).getColumns());
    }