public void NlpSegmentationSegmentGetAsyncTest()
 {
     SegmentationSegmentResponse segmentationSegmentResponse = new SegmentationSegmentResponse();
     Task.Run(async () =>
     {
         segmentationSegmentResponse = await segmentationApi.NlpSegmentationSegmentGetAsync(null, "this is a test", "en", null, null);
     }).Wait();
     Assert.IsNotNull(segmentationSegmentResponse.Segments);
 }
 public void NlpSegmentationSegmentGetTest()
 {
     SegmentationSegmentResponse segmentationSegmentResponse = new SegmentationSegmentResponse();
     segmentationSegmentResponse = segmentationApi.NlpSegmentationSegmentGet(null, "this is a test", "en", null, null);
     Assert.IsNotNull(segmentationSegmentResponse.Segments);
 }