unexpected Value
public static ValueMismatch unexpectedValue(float expected, float actual, float newValue, int version)
Creates ValueMismatch
for the case of discovering a value different than by a command.
Return
new ValueMismatch
instance
Parameters
expected
the value expected by the command
actual
the value discovered instead of the expected string
new Value
the new value requested in the command
version
the version of the entity in which the mismatch is discovered