Changes in radd introduced new class and behaviors. JUnit tests need to be updated to reflect the changes.
Details:
Add tests for AddRentalDescriptor.
Add example AddRentalDescriptor in CommandTestUtil.
Add AddRentalDescriptorBuilder to help with testing.
Modify AddRentalCommandParserTest to handle optional parameter.
Modify equalsMethod() in CustomerListTest, DepositTest, MonthlyRentTest, RentDueDateTest, RentalDateTest to include comparing null value.
Modify JsonAdaptedRentalInformationTest to handle null value, instead of throwing exception.
Changes in radd introduced new class and behaviors. JUnit tests need to be updated to reflect the changes.
Details: Add tests for AddRentalDescriptor. Add example AddRentalDescriptor in CommandTestUtil. Add AddRentalDescriptorBuilder to help with testing. Modify AddRentalCommandParserTest to handle optional parameter. Modify equalsMethod() in CustomerListTest, DepositTest, MonthlyRentTest, RentDueDateTest, RentalDateTest to include comparing null value. Modify JsonAdaptedRentalInformationTest to handle null value, instead of throwing exception.