kasramp / Eris

Eris Weather API
https://eris.madadipouya.com/
GNU General Public License v3.0
12 stars 2 forks source link

Replace property utils test with a more meaningful test cases #3

Closed kasramp closed 5 years ago

kasramp commented 5 years ago

Currently, setters in PropertyUtils.java file are used for Unit testing. A correct approach is to load the values from a test property file and then do the assertions. This means it might be a need to convert the tests to run with SpringExtension instead of MockitoExtension.