private static void SendRequestAndVerifyDataThreeParams(Dictionary <string, object> request, Operations op, string targetField, int targetAffectedValue)
        {
            var handler          = new DefaultManager();
            var response         = SendRequestComputeAffectedField(request);
            var fieldValuePairs  = request[ComputeAffectedField.FieldValuePairs.GetEnumStringValue()] as Dictionary <string, object>;
            var secondFieldValue = int.Parse(fieldValuePairs.ElementAt(1).Value.ToString());
            var thirdFieldValue  = int.Parse(fieldValuePairs.ElementAt(2).Value.ToString());
            var targetValue      = ComputeByThreeParams[op](targetAffectedValue, secondFieldValue, thirdFieldValue);

            PrAssert.That(response.Result.AffectedFields.Where(x => x.Field.Contains(targetField)).Select(i => Convert.ToInt32(float.Parse(i.Value))), PrIs.All.EqualTo(targetValue), "Compute affected field value is incorrectly.");
        }
        private static void SendRequestAndVerifyDataThreeParams(Dictionary <string, object> request, Operations op, string targetField)
        {
            var handler          = new DefaultManager();
            var response         = SendRequestComputeFieldValue(request);
            var fieldValuePairs  = request[ComputeFieldValue.FieldValuePairs.GetEnumStringValue()] as Dictionary <string, object>;
            var firstFieldValue  = int.Parse(fieldValuePairs.ElementAt(0).Value.ToString());
            var secondFieldValue = int.Parse(fieldValuePairs.ElementAt(1).Value.ToString());
            var thirdFieldValue  = int.Parse(fieldValuePairs.ElementAt(2).Value.ToString());
            var targetValue      = ComputeByThreeParams[op](firstFieldValue, secondFieldValue, thirdFieldValue);

            PrAssert.That(Convert.ToInt32(float.Parse(response.Result.Value)), PrIs.EqualTo(targetValue), "Compute field value is incorrectly.");
        }