def METHOD_NAME(self):
    """Test the series list command."""
    series_cmd: commands.RunSeries = commands.get_command('series')
    arg_parser = arguments.get_parser()
    args = arg_parser.parse_args([
        'series',
        'run',
        'basic',
    ])
    series_cmd.silence()
    run_result = series_cmd.run(self.pav_cfg, args)
    self.assertEqual(run_result, 0)
    self._wait_for_all_start(series_cmd.last_run_series)
    list_args = [
        ['series', 'state_history', '--text'],
        ['series', 'states', series_cmd.last_run_series.sid],
    ]
    for raw_args in list_args:
        args = arg_parser.parse_args(raw_args)
        self.assertEqual(series_cmd.run(self.pav_cfg, args), 0)