Thanks! But what if I want to test a static method without a library/framework "from scratch"? I mean in the case of a stub the test is easy...I will just make an interface and make a concrete class and a stub class that both implement that interface and everything is okay. But in case of a mock, what should I do?
Just completed this course, it took me a week to complete But I'm a far better developer right now than I was a week before. Thanks much mate.
Great to hear!
this channel is gold mine , Thankyou brother
Thank you Altamash!
Thanks!
But what if I want to test a static method without a library/framework "from scratch"?
I mean in the case of a stub the test is easy...I will just make an interface and make a concrete class and a stub class that both implement that interface and everything is okay. But in case of a mock, what should I do?
Thank you a lot. I have resolved my problem
Thank you, I am glad to hear 😊