Intention to convert assert to an if with throw
IDEA plugin: fixed using SimplifyNegatedBinaryExpressionIntention and dependent tests.

+ minor reformat.
Buildserver auto merge