@Test
void testLinkNoDestinationStoredPassword() {

    Bundle bundle = new Bundle();
    bundle.addEntity(createStoredPassword(JNDI_STORED_PASSWORD_NAME));
    final JmsDestination jmsDestination = createJmsDestination(
            String.format(PASSWORD_REF_FORMAT, JNDI_STORED_PASSWORD_NAME),
            null);
    linker.link(jmsDestination, bundle, bundle);
    assertEquals(JNDI_STORED_PASSWORD_NAME, jmsDestination.getJndiPasswordRef());
    assertNull(jmsDestination.getJndiPassword());
    assertNull(jmsDestination.getDestinationPasswordRef());
    assertNull(jmsDestination.getDestinationPassword());
}