@Test
public void createUriEndpointRelative() {

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