InspectorHelper extends AbstractHelper { public static synchronized void resetInstance() { System.err.println("WARNING InspectorHelper.resetInstance : " + instance); instance = null; } private  InspectorHelper(String inspectorStoragePrefix, String inspectorResourcesPrefix,
      URI[] inspectorKeyUIDs); static synchronized InspectorHelper initInstanceForService(String inspectorStoragePrefix,
      String systemParametersResource, String[] credSpecResourceList,
      String[] inspectorPKResourceList); static synchronized InspectorHelper initInstanceForService(String inspectorStoragePrefix); static synchronized InspectorHelper initInstance(String inspectorStoragePrefix,
      String inspectorResourcesPrefix, SystemParameters systemParameters, URI[] inspectorKeyUIDs,
      List<CredentialSpecification> credSpecList); static synchronized boolean isInit(); static synchronized void resetInstance(); static synchronized InspectorHelper getInstance(); List<Attribute> inspect(PresentationToken value); static synchronized InspectorPublicKey setupPublicKey(SystemParameters sp, URI mechanism,
      int keyLength, URI uid, String inspectorResourcesPrefix); SecretKey exportPrivateKey(URI inspectorPublicKeyUID); SystemParameters getSystemParameters(); void addInspectorPublicKey(URI ipkuid, InspectorPublicKey inspectorPublicKey); @Override void addCredentialSpecifications(List<CredentialSpecification> credSpecs); @Override void addIssuerParameters(List<IssuerParameters> issuerParameters); @Override void setSystemParams(SystemParameters syspar); public InspectorAbcEngine engine; public CredentialManager credentialManager; }
@Test() public void testInitInspectorHelper() throws Exception { InspectorHelper.resetInstance(); this.test_init("soderhamn", false, inspectorPublicKeyUIDs); }
@Test() public void testInitInspectorHelperAgain() throws Exception { InspectorHelper.resetInstance(); this.test_init("soderhamn", false, inspectorPublicKeyUIDs); }