コード例 #1
0
 public void TestApiCaller_ShouldThrowException(string title)
 {
     Assert.ThrowsAnyAsync <BadApiCallException>(() => TVMazeCaller.CallApi_Async(title));
 }
コード例 #2
0
        public void TestAPICaller_ShouldHaveData(string title)
        {
            string excepted = TVMazeCaller.CallApi_Async(title).ToString();

            Assert.False(string.IsNullOrEmpty(excepted));
        }