I'm proposing we have something like unnecessary_non_null_assertion (or even use this diagnostic) for the cases where the isNotNull/isNull matcher is being used, but makes no sense. Probably a leftover from some old API that is not null anymore.
Of course, the isNull tests would fail, but this would help users migrating the tests to the new api.
CC @bwilkerson @srawlins @stereotype441 @natebosch