little refactoring for my test classes of #LaravelTesting lessions