Hi,
If put() method of Map is under any IF condition or For loop. Please make sure that IF condition and For loop is covered first then only map will be covered. 2) Public Map – Map is declared as Public which can be accessible in Test Class. We can pass values by Test class