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

    HealthBean.forTarget(new Object() {
        @HealthCheck("Void")
        public void getVoid()
        {
        }
    });
}