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: transfer.rs
    path of file: ./repos/joystream/runtime-modules/project-token/src/tests
    
    the code of the file until where you have to start completion: #![cfg(test)]
use frame_support::{assert_noop, assert_ok};

use crate::tests::mock::*;
use crate::tests::test_utils::{default_vesting_schedule, TokenDataBuilder};
use crate::traits::PalletToken;
use crate::types::{TransferPolicyOf, Transfers, Validated, VestingSource};
use cra
    
fn change_to_permissionless_ok_from_permissionless_state() {
    let token_id = token!(1);
    let ((src_member_id, _), src_balance) = (member!(1), balance!(100));

    let token_data = TokenDataBuilder::new_empty().build();

    let config = GenesisConfigBuilder::new_empty()
        .with_token_and_owner(token_id, token_data, src_member_id, src_balance)
        .build();

    build_test_externalities(config).execute_with(|| {
        let result = Token::change_to_permissionless(token_id);

        assert_ok!(result);
        assert!(matches!(
            Token::token_info_by_id(token_id).transfer_policy,
            TransferPolicyOf::<Test>::Permissionless
        ));
        last_event_eq!(RawEvent::TransferPolicyChangedToPermissionless(token_id));
    })
}