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

    @RestLiAssociation(name = "associationWithNoKeys", assocKeys = { })
    class LocalClass extends AssociationResourceTemplate<EmptyRecord> {
    }

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