Пример #1
0
        public void GetLanguagesTestFailedNoMirror()
        {
            WebInterface            target     = new WebInterface(apiKey);
            Task <List <Language> > taskResult = target.GetLanguages(null);

            Assert.Null(taskResult.Result);
        }
Пример #2
0
        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);
        }