public void testMyExtension() throws Exception
{
try ( ServerControls server = getServerBuilder()
.withExtension( "/myExtension", MyUnmanagedExtension.class )
.newServer() )
<BUG>{
HTTP.Response response = HTTP.GET( server.httpURI().resolve( "myExtension" ).toString() );
</BUG>
assertEquals( 200, response.status() );
}

public void testMyExtension() throws Exception
{
try ( ServerControls server = getServerBuilder()
.withExtension( "/myExtension", MyUnmanagedExtension.class )
.newServer() )
{
HTTP.Response response = HTTP.GET(
HTTP.GET( server.httpURI().resolve( "myExtension" ).toString() ).location() );
assertEquals( 200, response.status() );
