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

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