Today I spent entire morning to figure out WTF is going on in my unit-test.
Long story short, I spied on a function, I saw the debug log coming from the function, which means it definitely has been called, but the test result kept saying that it was never called.