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

            BCrmServiceClient.MockCrmCommandExecute();
            BCrmServiceClient.MockGetPickListElementFromMetadataEntity();
            bool bln = crmaction.CloseActivity("", respId);

            Assert.IsTrue(bln);
            orgReq = BCrmServiceClient.GetRequest(typeof(SetStateRequest));
            Assert.IsNotNull(((SetStateRequest)orgReq).State);
        }