def METHOD_NAME(self, args, error_message, run_cli, capsys):
    command = BASE_COMMAND + self._build_cli_args(args)
    run_cli(command, expect_failure=True)
    out, err = capsys.readouterr()
    assert_that(out + err).contains(error_message)