I have a DTO which I\'m populating from the request object, and the request object has many fields. I want to write a test to check if the populateDTO() method
populateDTO()
You can have a parameterized test where the 1st parameter is the propertyname and the second the expected value.