- AxUnit supports mocking of
Aonly ifBis part of source code under compilation. This means in particular, that the mock setup ofAwill not work forBwhich is imported from library. AxUnit.Mocking.Mockfunction supports only literals orname_ofexpressions as parameters.- For mocking methods, the mock method should be defined in the same test fixture class where the mock setup is done.