@Test
void testLinkMissingInboundAssociatedService() {

    Bundle bundle = new Bundle();
    
    final ServiceResolutionSettings serviceResolutionSettings = new ServiceResolutionSettings();
    serviceResolutionSettings.setServiceRef("associated-service-id");
    final InboundJmsDestinationDetail inboundDetail = new InboundJmsDestinationDetail();
    inboundDetail.setAcknowledgeType(ON_TAKE);
    inboundDetail.setReplyType(NO_REPLY);
    inboundDetail.setUseRequestCorrelationId(false);
    inboundDetail.setServiceResolutionSettings(serviceResolutionSettings);
    final JmsDestination jmsDestination = createJmsDestinationBuilder(null,null)
            .inboundDetail(inboundDetail)
            .build();
    assertThrows(LinkerException.class, () -> linker.link(jmsDestination, bundle, bundle));
}