Make user easily to write a action when mock a method