package org.jboss.shamrock.example.testutils;

import java.io.InputStream;

import javax.json.JsonReader;

public interface URLResponse {

    int statusCode();

    String asString();

    InputStream asInputStream();

    JsonReader asJsonReader();
}

@@ -40,16 +40,44 @@
 utils;%0A%0A
+import java.io.IOException;%0A
 import j
@@ -179,24 +179,54 @@
 tusCode();%0A%0A
+    IOException exception();%0A%0A
     String a

Add support for accessing the response exception