merge

Merges the given options with this RootExpectOptions object creating a new RootExpectOptions where defined properties in options will have precedence over properties defined in this instance.

For instance, this object has defined representationInsteadOfSubject (meaning it is not null) and the given options as well, then the resulting RootExpectOptions will have the representationInsteadOfSubject of options.