write document of stub methods of a spy