You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: cli_test.rb
    path of file: ./repos/boring_generators/test/boring_generators
    
    the code of the file until where you have to start completion: require "test_helper"
require "boring_generators/cli
    
  def test_that_generate_run_rails_generator_invoke
    mock = MiniTest::Mock.new
    mock.expect(:call, nil, ["boring:cli_test:install", []])
    Rails::Generators.stub(:invoke, mock) do
      BoringGenerators::CLI.new.generate("boring:cli_test:install")
    end
    mock.verify
  end