Background:
Generating hardcoded set of expected results is not a long-term solution. Instead, we should have a generic validation logic.
Requirements:
Refactor existing unit tests code to validate each field / attribute of the parking rates object generically based on the data type expected (e.g. string, integer, double) and/or mandatory vs optional value assigned to a field..
Background: Generating hardcoded set of expected results is not a long-term solution. Instead, we should have a generic validation logic.
Requirements: Refactor existing unit tests code to validate each field / attribute of the parking rates object generically based on the data type expected (e.g. string, integer, double) and/or mandatory vs optional value assigned to a field..