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() |
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
Exceptionpublic void initialize_methodNotFound_throwsMethodNotFoundException()
throws NoSuchMethodException
NoSuchMethodExceptionpublic void isInitialized_methodFoundAndInitialized_returnsTrue()
throws Exception
Exceptionpublic void isInitialized_methodFoundAndNotInitialized_returnsFalse()
throws Exception
ExceptionCopyright © 2024. All rights reserved.