TestReflection::invoke

Helper method that invokes a protected or private method in a class by reflection.

Example usage: $this->assertTrue(TestReflection::invoke('methodName', $this->object, 123));