expectedEmpty

protected ValueMismatch expectedEmpty(String actual, String newValue)

Creates ValueMismatch for the case of discovering a non-empty value, when an empty string was expected by a command.

Return

new ValueMismatch instance

Parameters

actual

the value discovered instead of the empty string

newValue

the new value requested in the command