@Test
public void testMethodFromRightClassChain() throws SecurityException, NoSuchMethodException {

  Class<?> clazz = ChildClassList.class;
  Method method = RawList.class.getMethod("foo", List.class);
  getEndpointMethod(clazz, method);
}