toParticipantId,
request,
messagingQos);
assertEquals(JoynrMessage.MESSAGE_TYPE_REQUEST, message.getType());
assertEquals(fromParticipantId, message.getHeaderValue(JoynrMessage.HEADER_NAME_FROM_PARTICIPANT_ID));
<BUG>assertEquals(toParticipantId, message.getHeaderValue(JoynrMessage.HEADER_NAME_TO_PARTICIPANT_ID));
String expiryDateString = String.valueOf(expiryDate.getValue());
String headerExpiry = message.getHeaderValue(JoynrMessage.HEADER_NAME_EXPIRY_DATE);
assertEquals(expiryDateString.substring(0, expiryDateString.length() - 4),
headerExpiry.substring(0, headerExpiry.length() - 4));</BUG>
assertTrue(message.getPayload() != null);

toParticipantId,
request,
messagingQos);
assertEquals(JoynrMessage.MESSAGE_TYPE_REQUEST, message.getType());
assertEquals(fromParticipantId, message.getHeaderValue(JoynrMessage.HEADER_NAME_FROM_PARTICIPANT_ID));
assertEquals(toParticipantId, message.getHeaderValue(JoynrMessage.HEADER_NAME_TO_PARTICIPANT_ID));
assertExpiryDateEquals(expiryDate.getValue(), message);
assertTrue(message.getPayload() != null);
