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