add code example for mockery

fix #38