public static ResourceModel processResource(final Class<?> resourceClass)
  {
    return processResource(resourceClass, null);
  }
@Test(expectedExceptions = ResourceConfigException.class)
  public void failsOnMissingParamAnnotation() {

    @RestLiCollection(name = "noParamAnnotation")
    class LocalClass extends CollectionResourceTemplate<Long, EmptyRecord> {
      @Action(name = "noParamAnnotation")
      public void noParamAnnotation(String someId) {
      }
    }

    RestLiAnnotationReader.processResource(LocalClass.class);
    Assert.fail("#getParameters should fail throwing a ResourceConfigException");
  }