Avoid future regression bug that might happen when Illuminate\Pagination\Factory method signature is changed, since mocking Illuminate\Pagination\Environment does reflect the relevant signature.

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | N/A
| License       | MIT
| Doc PR        | N/A

Signed-off-by: crynobone <crynobone@gmail.com>