def METHOD_NAME(mocker, context_object):
    runner = CliRunner()
    mocker.patch.object(commands, "create_directories", mocker.Mock(return_value=([], ["dir_a", "dir_b"])))
    mocker.patch.object(commands, "create_api_headers_configuration_file", mocker.Mock(return_value=False))
    result = runner.invoke(commands.init, obj=context_object)
    assert result.exit_code == 0
    assert "Already existing directories: dir_a, dir_b.\n" in result.output