### Question:
CompareResponseProtocolOp extends ProtocolOp { @Override public String getProtocolOpName() { return "Compare Response"; } CompareResponseProtocolOp(int resultCode);  CompareResponseProtocolOp(int resultCode, LocalizableMessage errorMessage);  CompareResponseProtocolOp(int resultCode, LocalizableMessage errorMessage,
                                   DN matchedDN, List<String> referralURLs); int getResultCode(); LocalizableMessage getErrorMessage(); DN getMatchedDN(); List<String> getReferralURLs(); @Override byte getType(); @Override String getProtocolOpName(); @Override void write(ASN1Writer stream); @Override void toString(StringBuilder buffer); @Override void toString(StringBuilder buffer, int indent);  }### Answer:
@Test public void testProtocolOpName() throws Exception { CompareResponseProtocolOp compareResponse = new CompareResponseProtocolOp( resultCode); assertEquals(compareResponse.getProtocolOpName(), "Compare Response"); }