@Override
    public ByteBuffer encryptKey(SecretKeySpec toEncrypt, SecretKeySpec key) throws GeneralSecurityException {
      return cryptoService.encryptKey(toEncrypt, key);
    }
A mock {@link CryptoService} that doesn't implements default methods.
ambry-router/src/test/java/com/github/ambry/router/CryptoServiceTest.java