@Test
void buildWithConnection_checkBundleContainsConnection() {

    JdbcConnectionEntityBuilder builder = new JdbcConnectionEntityBuilder(ID_GENERATOR);
    final Bundle bundle = new Bundle(projectInfo);
    bundle.putAllJdbcConnections(ImmutableMap.of(TEST_JDBC_CONNECTION, buildJdbcConnection(emptyMap())));
    final List<Entity> entities = builder.build(bundle, BundleType.ENVIRONMENT, DocumentTools.INSTANCE.getDocumentBuilder().newDocument());
    assertFalse(entities.isEmpty());
    assertEquals(1, entities.size());
}