use func for create Test Mock