@Test void testTemplateResource() { mockResource.setResourceFormat("image/tiff"); mockResource.setResourceId("trellis:data/12345"); mockResource.setResourceLabel("00001111"); mockResource.setService(mockService); mockResource.setResourceHeight(200); mockResource.setResourceWidth(200); final Optional<String> json = ManifestSerializer.serialize(mockResource); assertTrue(json.isPresent()); out.println(json.get()); }
public TemplateResource() { }
TemplateResource { public TemplateResource() { } }
TemplateResource { public TemplateResource() { } TemplateResource(); }
TemplateResource { public TemplateResource() { } TemplateResource(); void setResourceId(final String id); void setResourceLabel(final String label); void setResourceFormat(final String format); void setService(final TemplateService service); void setResourceHeight(final Integer height); void setResourceWidth(final Integer width); }
TemplateResource { public TemplateResource() { } TemplateResource(); void setResourceId(final String id); void setResourceLabel(final String label); void setResourceFormat(final String format); void setService(final TemplateService service); void setResourceHeight(final Integer height); void setResourceWidth(final Integer width);  }