0
  • Class A -> This is the class I want to test; It depends on class B
  • Class B -> This class is supposed to be mocked; Methods of this class calls methods of class C

  • Class C -> Singleton class

How should I test A so that tests won't invoke actual class C methods?

PM 77-1
  • 12,933
  • 21
  • 68
  • 111
Sachin Titus
  • 1,960
  • 3
  • 23
  • 41

0 Answers0