@Test(expectedExceptions = RuntimeException.class,
        expectedExceptionsMessageRegExp = ".*field cannot have both @HealthCheck and @HealthCheckRemoveFromRotation annotations")
public void testFieldRegularAndRemoveAnnotations()
{

    HealthBean.forTarget(new Object() {
        @HealthCheck("Field 1")
        @HealthCheckRemoveFromRotation("Field 2")
        private AtomicReference<String> field;
    });
}