void (@NotNull XValue var, @Nullable String name, @Nullable String type, @Nullable @RegExp String valuePattern, @Nullable Boolean hasChildren, @Nullable Icon icon) { XTestValueNode node = computePresentation(var); assertVariable(node, name, type, null, hasChildren, icon); if (valuePattern != null) { assertTrue("Expected value: " + valuePattern + " Actual value: " + node.myValue, node.myValue.matches(valuePattern)); } }