@Test
void buildBindOnlyIPWithoutIPDetail() {

    final Bundle bundle = new Bundle(projectInfo);
    final IdentityProvider identityProvider = new IdentityProvider();
    identityProvider.setType(BIND_ONLY_LDAP);
    identityProvider.setId(TEST_ID);
    bundle.putAllIdentityProviders(new HashMap<String, IdentityProvider>() {{
        put("simple ldap config", identityProvider);
    }});
    assertThrows(EntityBuilderException.class, () -> builder.build(bundle, BundleType.ENVIRONMENT, DocumentTools.INSTANCE.getDocumentBuilder().newDocument()));
}