Learning to play a role before you enter it is known as anticipatory socialization. This means there were rehearsal done for some activity that needs to be done in the future. This will bring a certain ease at the time of entry and carry it out proficiently.