MX interview question

How would you test a broken vending machine?