@Test
public void getAnnotations() {

    Annotation[] annotations = setPropertyMethod.getAnnotations();
    assertThat(annotations, notNullValue());
    assertThat(annotations.length, equalTo(1));
    assertThat(annotations[0], instanceOf(TestAnnotation.class));
}