An empty string is a value, not null, and non-String types cannot convert it
All 3 scenarios hold
'' and "" convert fine to String parameters, but there is no built-in conversion from an empty string to other types — without a custom type converter the row fails. Each message closes by naming the classes searched for a type converter; those depend on where the test lives, so they are left out of the table.
expected outcome
broken scenario
| Scenario | Input value | Parameter type | Error message? |
|---|---|---|---|
| Empty single quoted | “” | java.util.List | Built-in conversion of value "" to type java.util.List failed. Are you missing a type converter for this conversion? |
| Empty double quoted | “” | java.lang.Integer | Built-in conversion of value "" to type java.lang.Integer failed. Are you missing a type converter for this conversion? |
| Empty primitive | “” | boolean | Built-in conversion of value "" to type boolean failed. Are you missing a type converter for this conversion? |