public void invoke_A$MethodInvocation() throws Throwable {
MemcachedCacheResultInterceptor interceptor = new MemcachedCacheResultInterceptor();
MethodInvocation invocation = mock(MethodInvocation.class);
when(invocation.getMethod()).thenReturn(Foo.class.getDeclaredMethod("doSomething"));
when(invocation.proceed()).thenReturn("foo");
Object result = interceptor.invoke(invocation);
Object expected = "foo";
assertThat(result, is(equalTo(expected)));
}
}