RemoveAllPRMessage extends PartitionMessageWithDirectReply { @Override protected void appendFields(StringBuilder buff) { super.appendFields(buff); buff.append("; removeAllPRDataSize=").append(removeAllPRDataSize).append("; bucketId=") .append(bucketId); if (this.bridgeContext != null) { buff.append("; bridgeContext=").append(this.bridgeContext); } buff.append("; directAck=").append(this.directAck); for (int i = 0; i < removeAllPRDataSize; i++) { buff.append("; entry" + i + ":").append(removeAllPRData[i].getKey()).append(",") .append(removeAllPRData[i].versionTag); } } RemoveAllPRMessage();  RemoveAllPRMessage(int bucketId, int size, boolean notificationOnly, boolean posDup,
      boolean skipCallbacks, Object callbackArg); void addEntry(RemoveAllEntryData entry); void initMessage(PartitionedRegion r, Set recipients, boolean notifyOnly,
      DirectReplyProcessor p); @Override boolean isSevereAlertCompatible(); void setPossibleDuplicate(boolean posDup); int getSize(); Set getKeys(); PartitionResponse send(DistributedMember recipient, PartitionedRegion r); void setBridgeContext(ClientProxyMembershipID contx); @Override int getDSFID(); @Override void fromData(DataInput in,
      DeserializationContext context); @Override void toData(DataOutput out,
      SerializationContext context); @Override EventID getEventID(); @Retained EntryEventImpl getFirstEvent(PartitionedRegion r); @edu.umd.cs.findbugs.annotations.SuppressWarnings(value = "IMSE_DONT_CATCH_IMSE") boolean doLocalRemoveAll(PartitionedRegion r, InternalDistributedMember eventSender,
      boolean cacheWrite); VersionedObjectList getVersions(); @Override boolean canStartRemoteTransaction(); @Retained static EntryEventImpl getEventFromEntry(InternalRegion r, InternalDistributedMember myId,
      InternalDistributedMember eventSender, int idx, RemoveAllEntryData[] data,
      boolean notificationOnly, ClientProxyMembershipID bridgeContext, boolean posDup,
      boolean skipCallbacks); InternalDistributedSystem getInternalDs(); void setInternalDs(InternalDistributedSystem internalDs); void setDirectAck(boolean directAck);  }
@Test public void shouldBeMockable() throws Exception { RemoveAllPRMessage mockRemoveAllPRMessage = mock(RemoveAllPRMessage.class); StringBuilder stringBuilder = new StringBuilder(); mockRemoveAllPRMessage.appendFields(stringBuilder); verify(mockRemoveAllPRMessage, times(1)).appendFields(stringBuilder); }