private function mergeTraitMethods()
    {
        $reflection = $this->__reflection();
        $mergedMethods = [];
        do {
            $staticProperties = $reflection->getStaticProperties();

            if (!isset($staticProperties['___classMocker_traitMethods'])) {
                continue;
            }

            $mergedMethods = array_merge_recursive($mergedMethods, $staticProperties['___classMocker_traitMethods']);
        } while ($reflection = $reflection->getParentClass());

        return $mergedMethods;
    }