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