How to verify static methods with PowerMock - Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ต.ค. 2024

ความคิดเห็น • 7

  • @ShubhamSharma-sf8wk
    @ShubhamSharma-sf8wk 4 หลายเดือนก่อน +1

    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.

    • @AneeshMistry
      @AneeshMistry  4 หลายเดือนก่อน

      Great to hear!

  • @altamashsabri8142
    @altamashsabri8142 ปีที่แล้ว

    this channel is gold mine , Thankyou brother

  • @mohamedyouns7182
    @mohamedyouns7182 ปีที่แล้ว +1

    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?

  • @vietogiaquoc17
    @vietogiaquoc17 11 หลายเดือนก่อน +1

    Thank you a lot. I have resolved my problem

    • @AneeshMistry
      @AneeshMistry  10 หลายเดือนก่อน

      Thank you, I am glad to hear 😊