@Test
public void testGetMostSpecificMethod() throws Exception {

    Method mObject = getClass().getDeclaredMethod("setThreeAccessibleNoExactMatchSetter", Object.class);
    Method mThrowable = getClass().getDeclaredMethod("setThreeAccessibleNoExactMatchSetter", Throwable.class);
    Method mException = getClass().getDeclaredMethod("setThreeAccessibleNoExactMatchSetter", Exception.class);
    assertEquals(mThrowable, Util.getMostSpecificMethod(mObject, mThrowable));
    assertEquals(mException, Util.getMostSpecificMethod(mException, mThrowable));
    assertEquals(mException, Util.getMostSpecificMethod(mException, mObject));
}