
Does anyone know how to test private methods of a class in AX using the Unit Testing Framework? I really don't want to make all my methods public and I would also like to write tests for all my methods on a class.
Thanks,
Tory
*This post is locked for comments
I have the same question (0)This is somewhat of a hack and it may stop working in some version of AX at some point, but you can use DictClass to invoke methods, and this effectively ignores the method modifiers.