first attempt at using gomock (not finished)