I have two HashMap maps that I would like to compare. Question in this case is a Javabean I have written.
HashMap
Question
How do I ass
Too compare maps ,in your particular case :
1)Check the size of the map if its equal
Then use
`assertTrue(expectedMap.equals(hashMap));`
In your Question bean you have to override the equals and hashcode method.