### Question:
OpenApiPropertyGenerator { public static String createHostUri(final String scheme, final String host, final int port) { try { if (port == -1) { return new URI(scheme, host, null, null).toString(); } return new URI(scheme, null, host, port, null, null, null).toString(); } catch (final URISyntaxException e) { throw new IllegalArgumentException(e); } } protected  OpenApiPropertyGenerator(); Optional<ConfigurationProperty> createProperty(final String propertyName, final OpenApiModelInfo info,
                                                                 final ConfigurationProperty template, final ConnectorSettings connectorSettings); PropertyGenerator forProperty(String propertyName); static String createHostUri(final String scheme, final String host, final int port); String determineHost(final OpenApiModelInfo info); Optional<S> securityDefinition(final OpenApiModelInfo info,
                                           final ConnectorSettings connectorSettings, final OpenApiSecurityScheme type);  }### Answer:
@Test public void shouldCreateHostUri() { assertThat(createHostUri("scheme", "host", -1)).isEqualTo("scheme: assertThat(createHostUri("scheme", "host", 8080)).isEqualTo("scheme: }