@Before
  public void before() throws Exception {
    injector = Guice.createInjector(new InMemoryDefaultTestModule());
    injector.getInstance(GuiceJpaInitializer.class);

    ambariMetaInfo = injector.getInstance(AmbariMetaInfo.class);
  }
Tests for the config upgrade pack
ambari-server/src/test/java/org/apache/ambari/server/state/stack/ConfigUpgradePackTest.java