### Question:
Converter { public static Provider getProviderFromJSON(String json) { return fromJSONToObject(Provider.class, json); }  static Provider getProviderObject(String xml); static String getProviderXML(Provider provider); static String getRootCollectionJSON(List<Provider> providers); static String getRootCollectionXML(List<Provider> providers); static String getProviderJSON(Provider provider); static Provider getProviderFromJSON(String json);  }### Answer:
@Test public void getProviderObjectFromJSONTest() { String json = "{" + "\"href\" : \"/11\"," + "\"id\" : 11," + "\"name\" : \"Nome\", " + "\"vmm-url\" : \"Punto final\", " + "\"link\" : [ { " + "\"rel\" : \"self\"," + "\"href\" : \"/11\"," + "\"type\" : \"http: "}, {" + "\"rel\" : \"parent\"," + "\"href\" : \"/\"," + "\"type\" : \"http: "} ]" + "}"; Provider provider = Converter.getProviderFromJSON(json); assertEquals(11l, provider.getId()); assertEquals("Nome", provider.getName()); assertEquals("Punto final", provider.getVmmUrl()); }