moved magic methods
Merge pull request #2293 from Ragazzo/fixture_trait_fix

moved magic methods