public void CanHandleMultipleStrings() { var tokenTable = GenerateTable(Size, Alphabet.English); var service = new BasicService(new ServiceSettings()); var testStrings = new List <string>(); for (int i = 0; i < 100; i++) { testStrings.Add(TestString1 + i.ToString()); } var results = service.TokenizeAsync(testStrings, tokenTable).Result; results = service.DetokenizeAsync(results.Select(o => new BasicRequest(o.Value)).ToList(), tokenTable).Result; for (var i = 0; i < testStrings.Count; i++) { Assert.IsTrue(results.Any(o => o.Value == testStrings[i])); } }