You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling method getMessageKeyOrNull() from class ResourceModifiedMessage and ResourceDeliveryMessage will return a value (payloadId) although method setMessageKey() was never called on the object.
How to reproduce:
@Test
void test_getMessageKeyOrNull_whenSetMessageKeyIsNotInvoked_willReturnNull(){
IBaseResource patient = buildPatient();
ResourceModifiedMessage payload = new ResourceModifiedMessage(ourFhirContext, patient,
BaseResourceMessage.OperationTypeEnum.CREATE);
assertNull(payload.getMessageKeyOrNull()); // this fails.
}
The text was updated successfully, but these errors were encountered:
Calling method getMessageKeyOrNull() from class ResourceModifiedMessage and ResourceDeliveryMessage will return a value (payloadId) although method setMessageKey() was never called on the object.
How to reproduce:
The text was updated successfully, but these errors were encountered: