Skip to content

Conversation

@MobR10
Copy link
Collaborator

@MobR10 MobR10 commented May 18, 2023

not for merge, but we ll see

@MobR10 MobR10 requested a review from radu103 May 18, 2023 18:24
}

private static void validateCarYear(Integer year) {
if(year > YearMonth.now().getYear()){
Copy link
Owner

@radu103 radu103 May 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

validateCar_year_null test fails because of missing year == null check in this function ?

}
}

Car carForMaker(String maker) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can move all these private functions and used them from a static class re-usable for all tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants