public void GetLanguagesTestFailedNoMirror() { WebInterface target = new WebInterface(apiKey); Task <List <Language> > taskResult = target.GetLanguages(null); Assert.Null(taskResult.Result); }
public void GetLanguagesTestSuccessfullWithMirror() { WebInterface target = new WebInterface(apiKey); Task <List <Language> > taskResult = target.GetLanguages(this.testMirror); List <Language> result = taskResult.Result; Assert.True(result.Count > 0); }