This is my experience, unless I try to make the contract of the thing simple to test via property testing. Then, writing tests often becomes basically an exercise in writing down the contract in a succinct way.
Sadly, this is a rare approach, so if you cooperate with others it's hard to use it.