Sheerwater\HMACRestfulAuthenticator\Tests\HMACRestfulAuthenticatorTest::getPrivateTestMethod
Given a method name and a class name, uses Reflection to obtain a reference to a class's method. Useful for testing protected and private methods.
Signature
private function getPrivateTestMethod([string
$methodName = NULL,
[null
$className = NULL]] )
Parameters
$methodName
—
string
- Defaults to the class name returned by {@link getTestClassName}
$className
—
null
- Defaults to the method name returned by {@link getTestMethodName}
Returns
- ReflectionMethod