@Test
void testLinkWithPassword() {

    CassandraConnection cassandraConnection = new CassandraConnection.Builder().passwordId("123").build();
    Bundle bundle = new Bundle();
    bundle.addEntity(new StoredPassword.Builder().name("name").id("123").build());
    linker.link(cassandraConnection, bundle, null);
    assertNotNull(cassandraConnection.getStoredPasswordName());
    assertEquals("name", cassandraConnection.getStoredPasswordName());
}