@Test
void testLinkNoDestinationAndJndiStoredPasswords() {

    Bundle bundle = new Bundle();
    final JmsDestination jmsDestination = createJmsDestination(
            null,
            null);
    linker.link(jmsDestination, bundle, bundle);
    assertNull(jmsDestination.getJndiPasswordRef());
    assertNull(jmsDestination.getJndiPassword());
    assertNull(jmsDestination.getDestinationPasswordRef());
    assertNull(jmsDestination.getDestinationPassword());
}