@Test(expectedExceptions = RuntimeException.class,
        expectedExceptionsMessageRegExp = "healthcheck annotation on non-AtomicReference field .*field")
public void testFieldNotAtomicReference()
{

    HealthBean.forTarget(new Object() {
        @HealthCheck("Field")
        private Object field;
    });
}