@Test
void buildFedIPNoDetails() throws DocumentParseException {

    final IdentityProvider identityProvider = new IdentityProvider();
    identityProvider.setType(FEDERATED);
    identityProvider.setId(TEST_ID);
    final Bundle bundle = new Bundle(projectInfo);
    bundle.putAllIdentityProviders(new HashMap<String, IdentityProvider>() {{
        put("fed IP no details", identityProvider);
    }});
    final List<Entity> identityProviders = builder.build(bundle, BundleType.ENVIRONMENT, DocumentTools.INSTANCE.getDocumentBuilder().newDocument());
    Element identityProviderEntityXml = verifyIdProvider(identityProviders, "::TestGroup::fed IP no details::1.0", FEDERATED);
    //No identityProviderDetail element
    assertThrows(DocumentParseException.class, () -> getSingleElement(identityProviderEntityXml, FEDERATED_ID_PROV_DETAIL));
}