@Test(expected = JsonException.class)
public void testFromJson_badJson() throws Exception {

    final Result<OakpalPlan> badJson = OakpalPlan.fromJson(new URL(baseUrl, "badJson.json"));
    badJson.throwCause(JsonException.class);
}