final UriInfo uri = mockTheUri(true, "not-a-frame-in-config");
// can do a slimmed down RexsterResourceContext
this.ctx = new RexsterResourceContext(this.rag, uri, null, null, null, null, null, null);
ExtensionResponse extResp = this.framesExtension.doFramesWorkOnEdge(this.ctx, this.graph, this.graph.getEdge(11), "in");
Assert.assertNotNull(extResp);
Assert.assertNotNull(extResp.getJerseyResponse());
Response response = extResp.getJerseyResponse();
Assert.assertEquals(Response.Status.INTERNAL_SERVER_ERROR.getStatusCode(), response.getStatus());
JSONObject jsonObject = (JSONObject) response.getEntity();
Assert.assertNotNull(jsonObject);
Assert.assertTrue(jsonObject.has("success"));