@Test
public void testInvoke() throws Exception {

	Assert.assertFalse("Method invoked before invocation", myMethodInvoked);
	endpoint.invoke("arg");
	Assert.assertTrue("Method invoked before invocation", myMethodInvoked);
}