I need to run unit tests against ArcMap extension which closely coupled with specific edit workspace and map state. When I try to initialize ArcMap 10 application with code like this:
IDocument pdoc = new MxDocumentClass();
_application = pdoc.Parent;
I receive error:
The runtime application type must be specified before license initialization
Is there any workaround or better way for unit testing?