public void TestApiCaller_ShouldThrowException(string title) { Assert.ThrowsAnyAsync <BadApiCallException>(() => TVMazeCaller.CallApi_Async(title)); }
public void TestAPICaller_ShouldHaveData(string title) { string excepted = TVMazeCaller.CallApi_Async(title).ToString(); Assert.False(string.IsNullOrEmpty(excepted)); }