@Test
public void createUriEndpointRelativeNoLeadingSlash() {

	String test1 = this.builder.build()
			.createUriEndpoint("example.com:8080/bar", false)
			.toExternalForm();
	String test2 = this.builder.build()
			.createUriEndpoint("example.com:8080/bar", true)
			.toExternalForm();
	assertThat(test1).isEqualTo("http://example.com:8080/bar");
	assertThat(test2).isEqualTo("ws://example.com:8080/bar");
}