- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for testNewProxyCantWorkOnAClass (0.1 seconds)
-
android/guava-tests/test/com/google/common/reflect/ReflectionTest.java
} public void testNewProxy() throws Exception { Runnable runnable = Reflection.newProxy(Runnable.class, X_RETURNER); assertThat(runnable.toString()).isEqualTo("x"); } public void testNewProxyCantWorkOnAClass() throws Exception { assertThrows( IllegalArgumentException.class, () -> Reflection.newProxy(Object.class, X_RETURNER)); } private static final InvocationHandler X_RETURNER =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 2.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/ReflectionTest.java
} public void testNewProxy() throws Exception { Runnable runnable = Reflection.newProxy(Runnable.class, X_RETURNER); assertThat(runnable.toString()).isEqualTo("x"); } public void testNewProxyCantWorkOnAClass() throws Exception { assertThrows( IllegalArgumentException.class, () -> Reflection.newProxy(Object.class, X_RETURNER)); } private static final InvocationHandler X_RETURNER =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 2.8K bytes - Click Count (0)