### Question:
Context { public Context addContext(String url) { return addContext(null, url); } Context();  Context(String url);  Context(String prefix, String url); Context addContext(String url); Context addContext(String prefix, String url); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); String getDefaultUrl(); String getUrl(String prefix); Map<String, String> getPrefixedUrls();  }### Answer:
@Test public void fromJson() throws IOException { assertEquals( new Context("http: jsonMapper.readValue("\"http: ); assertEquals( new Context("http: jsonMapper.readValue("[\"http: ); assertEquals( new Context("http: jsonMapper.readValue("[\"http: ); }
@Test public void toJson() throws JsonProcessingException { assertEquals( "\"http: jsonMapper.writeValueAsString(new Context("http: ); assertEquals( "[\"http: jsonMapper.writeValueAsString(new Context("http: ); }