JsonHomeConverter { public static Map<String, Map<String,Object>> toJsonHomeRepresentation(final JsonHome jsonHome) { return toRepresentation(jsonHome, APPLICATION_JSONHOME); } private  JsonHomeConverter(); static Map<String, Map<String,Object>> toJsonHomeRepresentation(final JsonHome jsonHome); static Map<String, Map<String,Object>> toRepresentation(final JsonHome jsonHome,
                                                                   final JsonHomeMediaType mediaType);  }
@Test public void shouldRenderEmptyJsonHome() { final List<ResourceLink> resourceLinks = asList(STOREFRONT_LINK, ABOUTPAGE_LINK); final JsonHome jsonHome = jsonHome(resourceLinks); final Map<String,?> json = toJsonHomeRepresentation(jsonHome); assertNotNull(json); }