M & Ms are not chocolate bars--they are small, sugar-coated chocolate candies, each one about the size of a large pea, flattened.
So, the author is saying that to imagine the act of putting a quarter into the slot of a washing machine in a coin laundry, and to imagine the act of eating an M & M are equivalent. I cannot be responsible, however, for asserting the accuracy of what the author is saying, nor of verifying that the conclusions of the research are correct.