Mocking member variables of a target test class
I am trying to test TicketFactory
. I want to let TicketFactory
perform its normal operations but without instantiating its member objects defined in its init method.
Mocking member variables of a target test class
I am trying to test TicketFactory
. I want to let TicketFactory
perform its normal operations but without instantiating its member objects defined in its init method.