public void CloseIncidentTest()
        {
            OrganizationRequest orgReq = null;
            Guid respId = Guid.NewGuid();
            Guid incdId = Guid.NewGuid();
            Guid actId  = Guid.NewGuid();

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

            newFields.Add("incidentid", new CrmDataTypeWrapper(incdId, CrmFieldType.UniqueIdentifier));
            newFields.Add("activityid", new CrmDataTypeWrapper(actId, CrmFieldType.UniqueIdentifier));
            Guid guid = crmaction.CloseIncident(respId, newFields);

            Assert.IsNotNull(guid);
            orgReq = BCrmServiceClient.GetRequest(typeof(CloseIncidentRequest));
            Assert.IsNotNull(((CloseIncidentRequest)orgReq).IncidentResolution);
        }