@Test(expectedExceptions = RuntimeException.class,
        expectedExceptionsMessageRegExp = "healthcheck annotation on non-getter .*operation\\(int\\)")
public void testNonAttribute()
{

    HealthBean.forTarget(new Object() {
        @HealthCheck("Operation")
        public void operation(int param)
        {
        }
    });
}