By splitting the functionality in traits you can write test by importing only needed traits and not depending on a base omnipay test.
Also moving the phpunit to require-dev the package is decoupled from the phpunit.
This way the developer can use which version he choses and only imports the traits where he needs them. He can also chose to import them in his one base test if he chose so
By splitting the functionality in traits you can write test by importing only needed traits and not depending on a base omnipay test.
Also moving the phpunit to require-dev the package is decoupled from the phpunit. This way the developer can use which version he choses and only imports the traits where he needs them. He can also chose to import them in his one base test if he chose so