[opendistro-1.8][backport] Update checkNullElementsInArray()
unit test to check both error mes…
#1420
+44
−12