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