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

    ReportedBean.forTarget(new Object() {
        @Reported
        public int operation()
        {
            return 3;
        }
    }, bucketIdProvider);
}