withmock examples