I am writing a unit test to check whether or not a function call opened the a Material dialog element. I am getting False, whereas the expected result is True. The component fun