### Question:
BoundPropertyAnnotationReader { public static boolean isBoundPropertyPresent(AnnotatedElement annotatedElement) { return BOUND_PROPERTY_ANNOTATION.isPresentOnAnyAnnotationOn(annotatedElement); } private  BoundPropertyAnnotationReader(); static boolean isBoundPropertyPresent(AnnotatedElement annotatedElement); static BoundProperty getBoundProperty(AnnotatedElement annotatedElement); static Optional<BoundProperty> findBoundProperty(AnnotatedElement annotatedElement); static BoundProperty getBoundProperty(A annotation,
            AnnotatedElement annotatedElement);  }### Answer:
@Test public void testIsBoundPropertyPresent() throws Exception { assertThat(BoundPropertyAnnotationReader.isBoundPropertyPresent(BoundPropertyAnnotationReaderTest.class), is(false)); assertThat(BoundPropertyAnnotationReader.isBoundPropertyPresent(BoundPropertyAnnotationReaderTest.class .getMethod("testIsBoundPropertyPresent")), is(false)); assertThat(BoundPropertyAnnotationReader.isBoundPropertyPresent(BoundPropertyAnnotationReaderTest.class .getField("foo")), is(false)); assertThat(BoundPropertyAnnotationReader.isBoundPropertyPresent(TestBind.class), is(false)); assertThat(BoundPropertyAnnotationReader.isBoundPropertyPresent(ClassWithBoundPropertyAnnotations.class), is(false)); assertThat(BoundPropertyAnnotationReader.isBoundPropertyPresent(ClassWithBoundPropertyAnnotations.class .getMethod("getComponent")), is(true)); assertThat(BoundPropertyAnnotationReader.isBoundPropertyPresent(ClassWithBoundPropertyAnnotations.class .getField("component")), is(true)); assertThat(BoundPropertyAnnotationReader.isBoundPropertyPresent(ClassWithBoundPropertyAnnotations.class .getField("componentWithDefectBoundPropertyCreator")), is(true)); assertThat(BoundPropertyAnnotationReader.isBoundPropertyPresent(ClassWithBoundPropertyAnnotations.class .getField("componentWithUninstatiableBoundPropertyCreator")), is(true)); }
@Test public void testIsBoundPropertyPresent_multipleBoundPropertyCreators() throws Exception { assertTrue(BoundPropertyAnnotationReader.isBoundPropertyPresent(ClassWithBoundPropertyAnnotations.class .getField("componentWithMultipleBoundProperties"))); }