public void test()

in component-test/src/main/java/org/apache/fineract/cn/anubis/TestAnubisInitializeWithSpecialTenantSignatureRepository.java [42:55]


  public void test()
  {
    final SystemSecurityEnvironment systemSecurityEnvironment = new SystemSecurityEnvironment(
            testEnvironment.getSystemKeyTimestamp(),
            testEnvironment.getSystemPublicKey(),
            testEnvironment.getSystemPrivateKey());

    final String systemToken = systemSecurityEnvironment.systemToken(APP_NAME);

    try (final AutoTenantContext ignored = new AutoTenantContext(TenantContextHolder.checkedGetIdentifier())) {
      try (final AutoSeshat ignored2 = new AutoSeshat(systemToken)) {
        example.initialize();
      }}
  }