PLT-543 - Move assertThrowsWithUnderlyingCause from master-db

Moved from master-db to commons/collect test