InMemoryConfigurationStore extends YarnConfigurationStore { @Override public void checkVersion() { }  @Override void initialize(Configuration conf, Configuration schedConf,
      RMContext rmContext); @Override void logMutation(LogMutation logMutation); @Override void confirmMutation(LogMutation pendingMutation, boolean isValid); @Override void format(); @Override synchronized Configuration retrieve(); @Override long getConfigVersion(); @Override List<LogMutation> getConfirmedConfHistory(long fromId); @Override Version getConfStoreVersion(); @Override void storeVersion(); @Override Version getCurrentVersion(); @Override void checkVersion(); @Override void close();  }
@Test public void checkVersion() { try { confStore.checkVersion(); } catch (Exception e) { fail("checkVersion threw exception"); } }