@Test public void testSerializeEmptyMessageWithEndpointContext() { Request request = Request.newGet(); request.setSourceContext(ENDPOINT_CONTEXT); request.setMID(1); EmptyMessage ack = EmptyMessage.newACK(request); ack.setToken(Token.EMPTY); RawData data = serializer.serializeEmptyMessage(ack, null); assertThat(data.getEndpointContext(), is(equalTo(ENDPOINT_CONTEXT))); }
public final RawData serializeEmptyMessage(final EmptyMessage emptyMessage) { return serializeEmptyMessage(emptyMessage, null); }
DataSerializer { public final RawData serializeEmptyMessage(final EmptyMessage emptyMessage) { return serializeEmptyMessage(emptyMessage, null); } }
DataSerializer { public final RawData serializeEmptyMessage(final EmptyMessage emptyMessage) { return serializeEmptyMessage(emptyMessage, null); }  }
DataSerializer { public final RawData serializeEmptyMessage(final EmptyMessage emptyMessage) { return serializeEmptyMessage(emptyMessage, null); }  final byte[] getByteArray(final Message message); final RawData serializeRequest(final Request request); final RawData serializeRequest(final Request request, final MessageCallback outboundCallback); final RawData serializeResponse(final Response response); final RawData serializeResponse(final Response response, final MessageCallback outboundCallback); final RawData serializeEmptyMessage(final EmptyMessage emptyMessage); final RawData serializeEmptyMessage(final EmptyMessage emptyMessage, final MessageCallback outboundCallback); static void serializeOptionsAndPayload(DatagramWriter writer, final OptionSet optionSet,
			final byte[] payload); }
DataSerializer { public final RawData serializeEmptyMessage(final EmptyMessage emptyMessage) { return serializeEmptyMessage(emptyMessage, null); }  final byte[] getByteArray(final Message message); final RawData serializeRequest(final Request request); final RawData serializeRequest(final Request request, final MessageCallback outboundCallback); final RawData serializeResponse(final Response response); final RawData serializeResponse(final Response response, final MessageCallback outboundCallback); final RawData serializeEmptyMessage(final EmptyMessage emptyMessage); final RawData serializeEmptyMessage(final EmptyMessage emptyMessage, final MessageCallback outboundCallback); static void serializeOptionsAndPayload(DatagramWriter writer, final OptionSet optionSet,
			final byte[] payload);  }