Verification with NULL or Variable

The Verification with NULL or variable selection inludes a list box that contains the entries < is Null > and < is not Null > and a list of variables that match the return value of the method call.

The list box additionally contains arrays for which the element type matches the return value of the method call. For example, the array myStringArray has a return value of type java.lang.String. You can select variables that represent a string array from the list box. In such cases, an array index list box is enabled.

The list box also contains public fields of complex objects of matching type. For example, the test class PublicMember has a public field called mStr of type string, which can be selected. The notation of public fields is <variable name>.<member name>, which for the example is PublicMember.mStr.