of

public static ValueMismatch of(long expected, long actual, long newValue, int version)

Creates a new instance of ValueMismatch with the passed values for a long attribute.