Closed adeniranjohn closed 1 month ago
@aalamu give a check if it addresses the above
@aalamu Issues resolved
@aalamu Issues resolved
I'll go through it.
@aalamu It would be helpful if you could check all the errors and highlight them at once for correction.
@adeniranjohn We cannot find all the problems at once, so we refactor one thing and then we find the next thing to refactor.
feature/fleenfeen-24
as indicated in the issue because each issue is linked to a branch for we to work on.Title: Created Unit test for Country
Created unit test for Country
Ensured all test methods were refactored from camel case to snake case pattern
Changed from Lombok builder to simple Java Object instantation pattern to make test codes agnostic and independent of a third party library.
If we are testing just an id in a @Test
case, we can just write
Country country = new Country();
country.setCountryId(1L);
and then test for the assertion. We do not need to set other argument if we're testing them in a specific @Test
case.
As assigned on Issue