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
Exception
public void invokeThrowsNoSuchMethodExceptionWhenMethodSignatureNotFound() throws Exception
Exception
public void invoke_callThrowsNullPointerException_throwsAsSdkException() throws Exception
Exception
public void invoke_invokedMethodThrowsException_throwsAsSdkException() throws Exception
Exception
public void invoke_invokePrivateMethod_throwsNoSuchMethodException() throws Exception
Exception
public void invoke_canBeCalledMultipleTimes() throws Exception
Exception
public void initialize_methodNotFound_throwsMethodNotFoundException() throws NoSuchMethodException
NoSuchMethodException
public void isInitialized_methodFoundAndInitialized_returnsTrue() throws Exception
Exception
public void isInitialized_methodFoundAndNotInitialized_returnsFalse() throws Exception
Exception
Copyright © 2021. All rights reserved.