gapi mock init