@Test
public void testRunDatabaseConsistencyCheck_IgnoreDBCheck() throws Exception {

  AmbariServer ambariServer = new AmbariServer();
  System.setProperty("skipDatabaseConsistencyCheck", "");
  final Injector mockInjector = Guice.createInjector(new AbstractModule() {
    @Override
    protected void configure() {
    }
  });
  DatabaseConsistencyCheckHelper.setInjector(mockInjector);
  ambariServer.runDatabaseConsistencyCheck();
  System.clearProperty("skipDatabaseConsistencyCheck");
}