Caterpillar interview question

The difference between spy and mock