public void considersMappingAnnotationOnDomainClassPropertyMethod() {
ResourceMapping mapping = getPropertyMappingFor(Entity.class, "third");
assertThat(mapping, is(notNullValue()));
assertThat(mapping.getPath(), is(new Path("thirdPath")));
assertThat(mapping.getRel(), is("thirdRel"));
assertThat(mapping.isExported(), is(false));
}