Above test throws below exception
io.helidon.config.MissingValueException: Requested value for configuration key '' is not present in the configuration.
where key is empty
The behaviour is mainly due to the asString() method invocation io.helidon.config.mp.SeConfig#as(java.lang.Class<T>) which in turn calls ConfigValues.empty() where key is set to empty string
Expected behavior
Test should throw exception io.helidon.config.MissingValueException: Requested value for configuration key 'not.a.valid.property' is not present in the configuration.
Environment Details
Problem Description
Above test throws below exception
io.helidon.config.MissingValueException: Requested value for configuration key '' is not present in the configuration.
where key is emptyThe behaviour is mainly due to the asString() method invocation
io.helidon.config.mp.SeConfig#as(java.lang.Class<T>)
which in turn callsConfigValues.empty()
where key is set to empty stringExpected behavior
Test should throw exception
io.helidon.config.MissingValueException: Requested value for configuration key 'not.a.valid.property' is not present in the configuration.