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

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