public void GetOperationTypeWithExecuteMultipleResponseItemHavingAssociateResponse()
        {
            var response = new ExecuteMultipleResponseItem
            {
                Response = new AssociateResponse()
            };
            OperationType actual = OperationType.Update;

            FluentActions.Invoking(() => actual = response.GetOperationType())
            .Should()
            .NotThrow();

            actual.Should().Be(OperationType.Associate);
        }
        public void GetOperationTypeWithFault()
        {
            var response = new ExecuteMultipleResponseItem
            {
                Fault = new OrganizationServiceFault()
            };
            OperationType actual = OperationType.Update;

            FluentActions.Invoking(() => actual = response.GetOperationType())
            .Should()
            .NotThrow();

            actual.Should().Be(OperationType.Failed);
        }