@Test
void testLinkJndiClientAuthPrivateKey() {

    Bundle bundle = new Bundle();
    bundle.addEntity(createPrivateKey("key1"));
    final JmsDestination jmsDestination = createJmsDestinationBuilder(null, null)
            .additionalProperties(new HashMap<String, Object>() {{
                    put(JNDI_CLIENT_AUT_KEYSTORE_ALIAS, "key1");
                }})
            .build();
    linker.link(jmsDestination, bundle, bundle);
    assertEquals(ImmutableMap.of(JNDI_CLIENT_AUT_KEYSTORE_ALIAS, "key1"),
            jmsDestination.getAdditionalProperties());
}