public void CancelSalesOrderTest()
        {
            OrganizationRequest orgReq = null;
            Guid respId = Guid.NewGuid();

            BCrmServiceClient.MockCrmCommandExecute();
            Dictionary <string, CrmDataTypeWrapper> newFields = new Dictionary <string, CrmDataTypeWrapper>();

            newFields.Add("name", new CrmDataTypeWrapper("CrudTestAccount", CrmFieldType.String));
            newFields.Add("accountnumber", new CrmDataTypeWrapper("12345", CrmFieldType.String));
            Guid result = crmaction.CancelSalesOrder(respId, newFields);

            Assert.IsNotNull(result);
            orgReq = BCrmServiceClient.GetRequest(typeof(CancelSalesOrderRequest));
            Assert.IsNotNull(((CancelSalesOrderRequest)orgReq).OrderClose);
        }