Well, the error is happing on line 131. So it makes it much easier for people to help you if you tell us which line in getConfigProps corresponds to that line. Something on that line is null that shouldn't be. There won't be many candidates.
Without knowing the line, my first guess would be line 13 of the listing. What is the value of cryptoSupport on that line? When do you set it to anything other than null? You create a CryptoSupport mock in the test method, but it doesn't seem to get passed into the SalesforceLeadSearch1 object.
Hi, can you indicate what line is 131 in your SalesforceLeadSearch1 class? You can do it with the code tags in the editor, just add the "firstline" param as I've shown below.
Yes cryptoSupport was null, but i bind is with class object as mentioned above, now i can see this inside method Mock for CryptoSupport, hashCode: 777355268. Now there is no NPE. but collection are fail to compare as follows :