@Test
void testLinkNoJndiStoredPassword() {

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