toParticipantId,
subscriptionRequest,
messagingQos);
assertEquals(JoynrMessage.MESSAGE_TYPE_SUBSCRIPTION_REQUEST, message.getType());
assertEquals(fromParticipantId, message.getHeaderValue(JoynrMessage.HEADER_NAME_FROM_PARTICIPANT_ID));
<BUG>assertEquals(toParticipantId, message.getHeaderValue(JoynrMessage.HEADER_NAME_TO_PARTICIPANT_ID));
assertTrue(message.getPayload() != null);</BUG>
assertNotNull(message.getCreatorUserId());
}
@Test

toParticipantId,
subscriptionRequest,
messagingQos);
assertEquals(JoynrMessage.MESSAGE_TYPE_SUBSCRIPTION_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);
assertNotNull(message.getCreatorUserId());
}
@Test
