I\'ve been struggling with this problem for quite a few hours now. I need to mock a function exported by module A which is immediately invoked on B
A
B