public void TalkProvider_Success() { var talk = TalkProvider.FromTalkUrl(Constants.KeynoteUrl); Assert.IsNotNull( talk, "Expected Talk object to be returned (requires internet connection)"); Assert.IsFalse( string.IsNullOrEmpty(talk.Title), "Talk title not set"); Assert.IsFalse( string.IsNullOrEmpty(talk.Description), "Talk description not set"); Assert.IsFalse( string.IsNullOrEmpty(talk.TalkUrl), "Talk url not set"); }
public void TalkProvider_Error() { _ = TalkProvider.FromTalkUrl(null); }