@Override
    public void run(Namespace namespace, Liquibase liquibase) throws Exception {
        liquibase.tag(namespace.<String>getList("tag-name").get(0));
    }
@Test
    void testRun() throws Exception {
        // Migrate some DDL changes
        final TestMigrationConfiguration conf = MigrationTestSupport.createConfiguration();
        final DbMigrateCommand<TestMigrationConfiguration> dbMigrateCommand = new DbMigrateCommand<>(
            new TestMigrationDatabaseConfiguration(), TestMigrationConfiguration.class, migrationsFileName);
        dbMigrateCommand.run(null, new Namespace(Collections.emptyMap()), conf);

        // Tag them
        dbTagCommand.run(null, new Namespace(Collections.singletonMap("tag-name", Collections.singletonList("v1"))), conf);

        // Verify that the tag exists
        try (CloseableLiquibase liquibase = dbTagCommand.openLiquibase(conf.getDataSource(),
            new Namespace(Collections.emptyMap()))) {
            assertThat(liquibase.tagExists("v1")).isTrue();
        }
    }