public void SumTest() { const String KEY1 = "key1"; const String KEY2 = "key2"; const String KEY3 = "key3"; const String KEY4 = "key4"; IList<String> expected = new List<String>(); expected.Add(KEY1); expected.Add(KEY2); expected.Add(KEY3); expected.Add(KEY4); StretchrRequest<String> target = new StretchrRequest<String>(new StretchrClient(), response => { }, (request, statusCode, exception) => { }); target.Sum(KEY1, KEY2, KEY3, KEY4); IList<String> actual = target.AggregationFunctionParameterListSum; Assert.IsNotNull(actual); Assert.AreEqual(expected.Count, actual.Count); Assert.AreEqual(expected[0], actual[0]); Assert.AreEqual(expected[1], actual[1]); Assert.AreEqual(expected[2], actual[2]); Assert.AreEqual(expected[3], actual[3]); }