### Question:
WadlHelper { public static final <T> List<T> reverse(final List<T> strings) { final LinkedList<T> result = new LinkedList<T>(); for (final T s : strings) { result.addFirst(s); } return Collections.unmodifiableList(result); } private  WadlHelper(); static List<Param> getRequestParams(final Method method); static final String computeId(final Method method, final Resource resource, final Resources resources,
            final Application app, final Stack<Resource> ancestors); static final String titleCase(final String text); static final List<T> reverse(final List<T> strings); static final boolean isVersion(final String step); static final String parseTemplateParam(final String step); static final List<String> toSteps(final Resource resource, final Stack<Resource> ancestors); static final boolean isTemplateParam(final String step);  }### Answer:
@Test public void testReverse() throws Exception { @SuppressWarnings({ "serial" }) List<Integer> strList = new ArrayList<Integer>(3) { { add(1); add(2); add(3); } }; List<Integer> revList = WadlHelper.reverse(strList); assertEquals(3, revList.size()); assertEquals(3, (int) revList.get(0)); assertEquals(2, (int) revList.get(1)); assertEquals(1, (int) revList.get(2)); }