public void GetMangaListForNonexistentUserThrowsCorrectException() { using (MyAnimeListApi api = new MyAnimeListApi()) { Assert.Throws <MalUserNotFoundException>(() => api.GetMangaListForUser("oijsfjisfdjfsdojpfsdp")); } }
public void GetMangaListForUser() { string username = "******"; using (MyAnimeListApi api = new MyAnimeListApi()) { MalUserLookupResults userLookup = api.GetMangaListForUser(username); Assert.NotEmpty(userLookup.MangaList); } }