I subscribed to your channel only watching this video. Excellent explanation!
@Tommy-nn8xf3 жыл бұрын
Thank you for your concise and understandable explanation! I was so confused after going through many articles, but finally understand it in your video.
@JavaShastra3 жыл бұрын
Thank you 😊,
@shashankshekhar70614 жыл бұрын
Very lucid explanation , Thanks :)
@ABHINAVKUMAR-vh3ln2 жыл бұрын
Thank you. God bless you.
@JavaShastra2 жыл бұрын
Thank you for your feedback 😊.
@manognajoshik84652 жыл бұрын
You have got a new subscriber!!
@JavaShastra2 жыл бұрын
Appreciate 😊, This will motivate me to upload more such content .
@manognajoshik84652 жыл бұрын
@@JavaShastra keep up the good work, I loved the way you illustrated the difference. Underrated channel it is!!
@eddylequartier Жыл бұрын
Hello. I have a question. As UserService class is a @Service bean, why you do not use @Resource on UserService class and @MockBean on its child field dao ?
@KermitDominicano2 жыл бұрын
Thank you!!! Very good, easy to follow explanation
@ganeshk86823 жыл бұрын
appreciate ..keep posting good videos
@prasanna67543 жыл бұрын
Helped it sir.Thank you
@JavaShastra3 жыл бұрын
Thanks
@pandipalanichamy93193 жыл бұрын
very nice explanation
@JavaShastra2 жыл бұрын
Thanks and welcome
@aishwaraybhatnagar4 жыл бұрын
Nicely explained.
@JavaShastra4 жыл бұрын
Thank you for your encouraging words , it will help me to create such more contents.
@profindia3 жыл бұрын
Nice explanation. Can you explain what is the value of variable 'id', which is used in assert method? If the value of id is from when clause and not from the actual DB call, then what is the purpose of this approach?
@JavaShastra3 жыл бұрын
Yes Mahesh, That is the concept of mocking, Here our core duty is we need to test a particular code in service layer. We are not bothered about DAO layer. So instead hitting in to DB, we will get the mock data, so here variable id is the Mock Data. This the concept of Mocking. For Mocking and unit tests You can watch more videos: kzbin.info/aero/PLBb5HFCJVQtucUCR91j_rqWIr3XpLFXVc
@profindia3 жыл бұрын
Super explanation
@JavaShastra3 жыл бұрын
Thank you 🙂, for your comment , this will keep me uploading more videos.
@letsexplore78063 жыл бұрын
Thanks
@JavaShastra3 жыл бұрын
Thank you for your valuable comment, this will help me to upload to such more content.