* @author Graham Campbell */ class SubscribeSubscriberCommandTest extends AbstractTestCase { use CommandTrait; protected function getObjectAndParams() { $params = ['email' => 'support@cachethq.io', 'verified' => true]; $object = new SubscribeSubscriberCommand($params['email'], $params['verified']); return compact('params', 'object'); } protected function objectHasRules() { return true; } protected function getHandlerClass() { return SubscribeSubscriberCommandHandler::class; } }