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