### Question:
AddResponseProtocolOp extends ProtocolOp { @Override public String getProtocolOpName() { return "Add Response"; } AddResponseProtocolOp(int resultCode);  AddResponseProtocolOp(int resultCode, LocalizableMessage errorMessage);  AddResponseProtocolOp(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 { AddResponseProtocolOp addResponse = new AddResponseProtocolOp(resultCode); assertEquals(addResponse.getProtocolOpName(), "Add Response"); }