We built services in spring. And we deploy it on WebSphere first to run services locally. Now I am facing issues while writing unit test cases using Mockito. I am not getting response from the database. Getting Null Pointer Exception. Not only database I have MQ Calls also. Even if I create mock data for DB to test. But I cannot create it for MQ. Did anyone face this issue? If yes, then what approach did you follow to overcome this issue?
In my previous question also, I guess the error is because of the Websphere issue only Assertion Error
Please suggest.
Aucun commentaire:
Enregistrer un commentaire