public void CloseTroubleTicketTest() { OrganizationRequest orgReq = null; Guid respId = Guid.NewGuid(); BCrmServiceClient.MockCrmCommandExecute(); Guid guid = crmaction.CloseTroubleTicket(respId, "", ""); Assert.IsNotNull(guid); orgReq = BCrmServiceClient.GetRequest(typeof(CloseIncidentRequest)); Assert.IsNotNull(((CloseIncidentRequest)orgReq).IncidentResolution); }