@Test
public void testMessageWithoutCorrelationId() {

    final AuthorizationContext connectionAuthContext = AuthorizationModelFactory.newAuthContext(
            DittoAuthorizationContextType.UNSPECIFIED,
            AuthorizationModelFactory.newAuthSubject("integration:application/json:hub"),
            AuthorizationModelFactory.newAuthSubject("integration:hub-application/json"));
    final AuthorizationContext expectedMessageAuthContext =
            TestConstants.Authorization.withUnprefixedSubjects(connectionAuthContext);
    testMessageMappingWithoutCorrelationId(connectionAuthContext, ModifyAttribute.class, modifyAttribute -> {
        assertThat(modifyAttribute.getType()).isEqualTo(ModifyAttribute.TYPE);
        assertThat(modifyAttribute.getDittoHeaders().getAuthorizationContext()).isEqualTo(
                expectedMessageAuthContext);
    });
}