@Test
public void createUriEndpointRelativeAddressSsl() {

	String test1 = this.builder.host("example.com")
			.port(8080)
			.sslSupport()
			.build()
			.createUriEndpoint("/foo", false)
			.toExternalForm();
	String test2 = this.builder.host("example.com")
			.port(8080)
			.sslSupport()
			.build()
			.createUriEndpoint("/foo", true)
			.toExternalForm();
	assertThat(test1).isEqualTo("https://example.com:8080/foo");
	assertThat(test2).isEqualTo("wss://example.com:8080/foo");
}