@Test
void testLinkMissingDestinationStoredPassword() {

    Bundle bundle = new Bundle();
    bundle.addEntity(createStoredPassword(JNDI_STORED_PASSWORD_NAME));
    final JmsDestination jmsDestination = createJmsDestination(
            String.format(PASSWORD_REF_FORMAT, JNDI_STORED_PASSWORD_NAME),
            String.format(PASSWORD_REF_FORMAT, DESTINATION_STORED_PASSWORD_NAME));
    
    assertThrows(LinkerException.class, () -> linker.link(jmsDestination, new Bundle(), new Bundle()));
}