public class ReflectionMethodInvokerTest extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ReflectionMethodInvokerTest.InvokeTestClass |
| Modifier and Type | Field and Description |
|---|---|
ExpectedException |
exception |
| Constructor and Description |
|---|
ReflectionMethodInvokerTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
invoke_callThrowsNullPointerException_throwsAsSdkException() |
void |
invoke_canBeCalledMultipleTimes() |
void |
invoke_invokedMethodThrowsException_throwsAsSdkException() |
void |
invoke_invokePrivateMethod_throwsNoSuchMethodException() |
void |
invoke_methodNotFound_throwsCachedExceptionOnSecondAttempt() |
void |
invokeCanInvokeMethodAndReturnsCorrectResult() |
void |
invokeCanReturnVoid() |
void |
invokeThrowsNoSuchMethodExceptionWhenMethodSignatureNotFound() |
public void invokeCanInvokeMethodAndReturnsCorrectResult()
throws Exception
Exceptionpublic void invokeThrowsNoSuchMethodExceptionWhenMethodSignatureNotFound()
throws Exception
Exceptionpublic void invoke_callThrowsNullPointerException_throwsAsSdkException()
throws Exception
Exceptionpublic void invoke_invokedMethodThrowsException_throwsAsSdkException()
throws Exception
Exceptionpublic void invoke_invokePrivateMethod_throwsNoSuchMethodException()
throws Exception
Exceptionpublic void invoke_canBeCalledMultipleTimes()
throws Exception
ExceptionCopyright © 2019. All rights reserved.