protected MigrationVersion getTargetVersion() {
        final String versionUnderTest = getTargetClass()
                .getSimpleName()
                .replaceAll("^V", "")
                .replaceAll("__.*$", "");

        final MigrationVersion targetVersion = MigrationVersion.fromVersion(versionUnderTest);
        LOGGER.debug("Using target version number {}", targetVersion);
        return targetVersion;
    }
This is version of the migration under test
stroom-app/src/test/java/stroom/app/db/migration/AbstractCrossModuleMigrationTest.java