[STORM-3132] Avoid NPE in the Values Constructor (#2744)

* Avoid NPE in the Values Constructor

* Fix Values Constructor as per review comments

* remove unwanted condition

* Addressing code review comments

* Fix checkstyle

* Fix JUnit 4 -> JUnit 5

---------

Co-authored-by: Kishor Patil <kpatil@oath.com>
Co-authored-by: Richard Zowalla <richard.zowalla@hs-heilbronn.de>
2 files changed