Fixed mockery bug related to ReflectionClass