@Test
public void testInvoke() throws Throwable {

    ServiceInvocationHandler sih = new ServiceInvocationHandler("hello", String.class);
    Method m = String.class.getMethod("length");
    assertEquals(5, sih.invoke(null, m, new Object[] {}));
}