@Test public void testGetMethod() throws Exception { MethodInvocation mock = createMock(MethodInvocation.class); Method method = AopAllianceMethodInvocationAdapterTest.class.getMethod("testGetMethod"); expect(mock.getMethod()).andReturn(method); AopAllianceMethodInvocationAdapter underTest = new AopAllianceMethodInvocationAdapter(mock); replay(mock); assertSame(method, underTest.getMethod()); verify(mock); }
public Method getMethod() { return mi.getMethod(); }
AopAllianceMethodInvocationAdapter implements org.apache.shiro.aop.MethodInvocation { public Method getMethod() { return mi.getMethod(); } }
AopAllianceMethodInvocationAdapter implements org.apache.shiro.aop.MethodInvocation { public Method getMethod() { return mi.getMethod(); } AopAllianceMethodInvocationAdapter(MethodInvocation mi); }
AopAllianceMethodInvocationAdapter implements org.apache.shiro.aop.MethodInvocation { public Method getMethod() { return mi.getMethod(); } AopAllianceMethodInvocationAdapter(MethodInvocation mi); Method getMethod(); Object[] getArguments(); String toString(); Object proceed(); Object getThis(); }
AopAllianceMethodInvocationAdapter implements org.apache.shiro.aop.MethodInvocation { public Method getMethod() { return mi.getMethod(); } AopAllianceMethodInvocationAdapter(MethodInvocation mi); Method getMethod(); Object[] getArguments(); String toString(); Object proceed(); Object getThis();  }