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,254
  • 20
  • 64
  • 106
Sachin Titus
  • 1,408
  • 1
  • 12
  • 29

0 Answers0