public void ResourcesCorpusExistsGetAsyncTest() { CorpusExistsResponse corpusExistsResponse = new CorpusExistsResponse(); Task.Run(async () => { corpusExistsResponse = await corpusApi.ResourcesCorpusExistsGetAsync("dotNetTest", null); }).Wait(); Assert.IsNotNull(corpusExistsResponse.Exists); }
public void ResourcesCorpusExistsGetTest() { CorpusExistsResponse corpusExistsResponse = new CorpusExistsResponse(); corpusExistsResponse = corpusApi.ResourcesCorpusExistsGet("dotNetTest", null); Assert.IsNotNull(corpusExistsResponse.Exists); }