public async Task GetCharacterSpecializationsSummaryAsync_Gets_CharacterSpecializationsSummary() { ICharacterSpecializationsApi warcraftClient = ClientFactory.BuildClient(); RequestResult <CharacterSpecializationsSummary> result = await warcraftClient.GetCharacterSpecializationsSummaryAsync("norgannon", "drinian", "profile-us"); Assert.NotNull(result.Value); }
public async Task GetCharacterSpecializationsSummaryAsync_Gets_CharacterSpecializationsSummary() { ICharacterSpecializationsApi warcraftClient = ClientFactory.BuildMockClient( requestUri: "https://us.api.blizzard.com/profile/wow/character/norgannon/drinian/specializations?namespace=profile-us&locale=en_US", responseContent: Resources.CharacterSpecializationsSummaryResponse); RequestResult <CharacterSpecializationsSummary> result = await warcraftClient.GetCharacterSpecializationsSummaryAsync("norgannon", "drinian", "profile-us"); Assert.NotNull(result.Value); }