### Question:
MigrationModule extends AbstractModule { @VisibleForTesting Version latestSchemaVersion() { return versionArgumentOrDefault(LATEST_SCHEMA_VERSION_NAME, LATEST_SCHEMA_VERSION); }   static final Version MINIMAL_SCHEMA_VERSION; static final Version LATEST_SCHEMA_VERSION; static final String MINIMAL_SCHEMA_VERSION_NAME; static final String LATEST_SCHEMA_VERSION_NAME; }### Answer:
@Test public void testLatestSchemaVersionFromConstant() { System.setProperty(MigrationModule.LATEST_SCHEMA_VERSION_NAME, ""); Version version = new MigrationModule().latestSchemaVersion(); assertThat(version).isEqualTo(MigrationModule.LATEST_SCHEMA_VERSION); }
@Test public void testLatestSchemaVersionFromVMArguments() { System.setProperty(MigrationModule.LATEST_SCHEMA_VERSION_NAME, "2014"); Version version = new MigrationModule().latestSchemaVersion(); assertThat(version).isEqualTo(Version.of(2014)); }