@Override
 public void restoreRegistry() {
   stateBeforeInjectorCreation.restoreGlobalState();
 }
 @Override
 public void setupRegistry() {
   getInjector();
   stateAfterInjectorCreation.restoreGlobalState();
 }
 public void restoreRegistry() {
   globalStateMemento.restoreGlobalState();
 }