### Question:
ResourceType extends WadlElement { public Resource getResource() { return resource; } ResourceType(final String id, final List<Documentation> doc, final List<Param> params,
            final Method method, final Resource resource); String getId(); List<Param> getParams(); Method getMethod(); Resource getResource();  }### Answer:
@Test public void testGetResource() { assertEquals(RESOURCE, resourceType.getResource()); }