@Test
void buildEnvironmentWithEncass() {

    final Bundle bundle = new Bundle();
    putPolicy(bundle, TEST_POLICY_PATH, TEST_POLICY_ID, TEST_POLICY_PATH);
    EncassEntityBuilder builder = new EncassEntityBuilder(ID_GENERATOR);
    Encass encass = buildTestEncass(TEST_GUID, "testGoid", TEST_POLICY_PATH);
    bundle.putAllEncasses(ImmutableMap.of(TEST_ENCASS, encass));
    final List<Entity> entities = builder.build(bundle, BundleType.ENVIRONMENT, DocumentTools.INSTANCE.getDocumentBuilder().newDocument());
    assertTrue(entities.isEmpty());
}