@Test
public void getMethodCaseSensitiveNoReturnOrParam() throws Exception {

    try {
        Method m = ClassUtil.getMethod(InternetPerson.class, "setLastName", null, null, true);
    } catch (NoSuchMethodException e) {
        if (e.getMessage().indexOf("signature") < 0) {
            Assert.fail("Expected exception was correct, but 'signature match failed' was not found in its message!");
        }
    }
}