protected function resetServices(bool
$initAutoloader = true
) { Services::
reset($initAutoloader);
} /**
* Injects the mock Cache driver to prevent filesystem collisions
*/
protected function mockCache() { Services::
injectMock('cache',
new MockCache());
} /**
* Injects the mock email driver so no emails really send
*/
protected function mockEmail() { Services::
injectMock('email',
new MockEmail(config(Email::
class)));
} /**
* Injects the mock session driver into Services
*/