@Test
void buildEnvironmentWithPBS() {

    final Bundle bundle = new Bundle();
    putPolicy(bundle);
    PolicyBackedServiceEntityBuilder builder = new PolicyBackedServiceEntityBuilder(ID_GENERATOR);
    bundle.putAllPolicyBackedServices(ImmutableMap.of(TEST_PBS, buildTestPBS()));
    final List<Entity> entities = builder.build(bundle, BundleType.ENVIRONMENT, DocumentTools.INSTANCE.getDocumentBuilder().newDocument());
    assertTrue(entities.isEmpty());
}