@Test
void linkNoDetail() {

    Bundle bundle = new Bundle();
    final IdentityProvider identityProvider = createIdentityProvider();
    identityProvider.setIdentityProviderDetail(null);
    linker.link(identityProvider, bundle, bundle);
    assertNull(identityProvider.getIdentityProviderDetail());
}