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: mock.rs
    path of file: ./repos/joystream/runtime-modules/forum/src
    
    the code of the file until where you have to start completion: #![cfg(test)]

use crate as forum;
use crate::*;

pub use frame_support::{assert_err, assert_noop};
use sp_core::H256;

use crate::Config;
use common::locks::
    
    fn is_member_controller_account(member_id: &u128, account_id: &u128) -> bool {
        let mut allowed_accounts = vec![
            FORUM_LEAD_ORIGIN_ID,
            NOT_FORUM_LEAD_ORIGIN_ID,
            NOT_FORUM_LEAD_2_ORIGIN_ID,
        ];

        // Test accounts for benchmarks.
        let max_worker_number =
            <Runtime as working_group::Config<ForumWorkingGroupInstance>>::MaxWorkerNumberLimit::get(
            ) as u128;
        let mut benchmarks_accounts: Vec<u128> = (1..max_worker_number).collect::<Vec<_>>();
        allowed_accounts.append(&mut benchmarks_accounts);

        (allowed_accounts.contains(account_id) && account_id == member_id)
            || (*account_id == NOT_FORUM_LEAD_ALT_ORIGIN_ID
                && *member_id == NOT_FORUM_LEAD_ORIGIN_ID)
    }