### Question:
CompareRequestProtocolOp extends ProtocolOp { public String getProtocolOpName() { return "Compare Request"; } CompareRequestProtocolOp(ByteString dn, String attributeType,
                                  ByteString assertionValue); ByteString getDN(); String getAttributeType(); ByteString getAssertionValue(); byte getType(); String getProtocolOpName(); void write(ASN1Writer stream); void toString(StringBuilder buffer); void toString(StringBuilder buffer, int indent);  }### Answer:
@Test public void testProtocolOpName() throws Exception { CompareRequestProtocolOp compareRequest = new CompareRequestProtocolOp(dn, attributeType, assertionValue); assertEquals(compareRequest.getProtocolOpName(), "Compare Request"); }