Quick interview answer
PUT replaces the whole resource and is idempotent; PATCH applies a partial update. Both should be idempotent-safe, but PATCH bodies are diffs.
Detailed explanation
Test PUT by omitting a field and verifying it is reset/removed; test PATCH by verifying untouched fields are preserved. Also test repeated calls: two identical PUTs must leave the same state.
Real-world example
A PATCH bug where updating a phone number silently wiped the billing address was caught by asserting untouched fields.
Interview tip
Always mention the idempotency check — most candidates only recite definitions.