### Question:
MethodDesc { public Method getMethod() { return method; } MethodDesc(GlobalTransactional transactionAnnotation, Method method); GlobalTransactional getTransactionAnnotation(); void setTransactionAnnotation(GlobalTransactional transactionAnnotation); Method getMethod(); void setMethod(Method method);  }### Answer:
@Test public void testGetMethod() throws NoSuchMethodException, InvocationTargetException, IllegalAccessException { MethodDesc methodDesc = getMethodDesc(); assertThat(methodDesc.getMethod()).isEqualTo(method); }