### Question:
DefaultCertificateClient implements CertificateClient { @Override public X509Certificate queryCertificate(String query) { throw new UnsupportedOperationException("Operation not supported"); } DefaultCertificateClient(SecurityConfig securityConfig, Logger log,
      String certSerialId, String component); @Override PrivateKey getPrivateKey(); @Override PublicKey getPublicKey(); @Override X509Certificate getCertificate(); @Override X509Certificate getCACertificate(); @Override X509Certificate getCertificate(String certId); @Override boolean verifyCertificate(X509Certificate certificate); @Override byte[] signDataStream(InputStream stream); @Override byte[] signData(byte[] data); @Override boolean verifySignature(InputStream stream, byte[] signature,
      X509Certificate cert); @Override boolean verifySignature(byte[] data, byte[] signature,
      X509Certificate cert); @Override CertificateSignRequest.Builder getCSRBuilder(); @Override X509Certificate queryCertificate(String query); @Override void storeCertificate(String pemEncodedCert, boolean force); @Override void storeCertificate(String pemEncodedCert, boolean force,
      boolean caCert); @Override synchronized void storeTrustChain(CertStore ks); @Override synchronized void storeTrustChain(List<X509Certificate> certificates); @Override synchronized InitResponse init(); Logger getLogger();  }### Answer:
@Test public void queryCertificate() throws Exception { LambdaTestUtils.intercept(UnsupportedOperationException.class, "Operation not supported", () -> omCertClient.queryCertificate("")); }