Using asserts with server integration

Krzysztof Zabłocki on asserts:

I tend to write more asserts than most people, one place when I add extra assertions is integration points, especially with data coming from server. E.g. I’m expecting to get Dictionary inside Array not the other way around. If I crash I’ll know straight away that backend developer has changed something and didn’t notify me.

Expanded Use of Asserts