Hi!,
I really have no idea how to create a simple unitary test.
It would be just for this code block:
Any idea how to create a simple Unitary Test?.if(totalReviewsCount > 0) { QueryReviewAirlineResult queryReviewAirlineResult = new QueryReviewAirlineResult(); queryReviewAirlineResult.setAverageScore(SFMCRowToQueryReviewResultTransfer.getRoundedUpValue(String.valueOf(accumulatedReviewRating / totalReviewsCount))); queryReviewAirlineResult.setNumberReviews(totalReviewsCount); queryReviewAirlineResult.setAirlineIataCode(airlineIataCode); return Collections.singletonList(queryReviewAirlineResult); }
Thanks