public void TestSetUp() { //bind to a license - this is required so that we can mock a server object helper RuntimeManager.BindLicense(ProductCode.Server); if (!RuntimeManager.Bind(ProductCode.Server)) { throw new ApplicationException("Cannot bind to ArcGIS Server License"); } //create an instance of the extension & initialise it using the mock server object helper exporter = new Exporter(); exporter.Init(MockServerObjectCreator.CreateMockServerObjectHelper(@"C:\Git\arcgis-exporter-extension\GPX.Server.Extension.Tests\testdata\California.mxd")); IPropertySet propSet = new PropertySet(); exporter.Construct(propSet); }