private void resetEncryptionObjects() throws GeneralSecurityException {
    if (testEncryption) {
      VerifiableProperties vProps = new VerifiableProperties(new Properties());
      kms = new SingleKeyManagementService(new KMSConfig(vProps),
          TestUtils.getRandomKey(SingleKeyManagementServiceTest.DEFAULT_KEY_SIZE_CHARS));
      cryptoService = new GCMCryptoService(new CryptoServiceConfig(vProps));
      cryptoJobHandler = new CryptoJobHandler(CryptoJobHandlerTest.DEFAULT_THREAD_COUNT);
    }
  }
Resets objects related to encryption testing
@throws GeneralSecurityException
ambry-router/src/test/java/com/github/ambry/router/GetManagerTest.java