I'm trying to
test a Method with this signature:
the problem is that MockMvc param attributes accept only
String parameters, is there a way to pass a HashMap , or an instance class object to the RequestBody as parameter? When i try to pass a hashMap as a string ,i get a MismatchException?
Any Help will be appreciated?