@Test
void buildWithCustomPortEnvironmentBundle_expectCustomAndDefaults() {

    ListenPortEntityBuilder builder = new ListenPortEntityBuilder(ID_GENERATOR);
    final Bundle bundle = new Bundle();
    addPortToBundle(bundle, buildPort());
    final List<Entity> listenPortEntities = builder.build(bundle, BundleType.ENVIRONMENT, DocumentTools.INSTANCE.getDocumentBuilder().newDocument());
    // two defaults and custom one
    assertEquals(3, listenPortEntities.size(),"More than 3 expected ports");
    // check
    checkExpectedPorts(listenPortEntities, ListenPort.HTTP_DEFAULT_PORT, ListenPort.HTTPS_DEFAULT_PORT, TEST_HTTP_PORT);
}