*/ class RemoveMetricCommandTest extends AbstractCommandTestCase { protected function getObjectAndParams() { $params = ['metric' => new Metric()]; $object = new RemoveMetricCommand($params['metric']); return compact('params', 'object'); } protected function objectHasRules() { return false; } protected function getHandlerClass() { return RemoveMetricCommandHandler::class; } }