BoardGameGeekApiClient.Tests.UnitTests.Helpers.BoardGameGeekApiClientHelper.GetBoardGameNameTests.When_Item_Has_Name.SetXElementToTest C# (CSharp) Method

SetXElementToTest() protected method

protected SetXElementToTest ( ) : void
return void
            protected override void SetXElementToTest()
            {
                XElementToTest =
                    XDocument.Parse(
                        @"<items termsofuse='http://boardgamegeek.com/xmlapi/termsofuse'>" +
                        "<item type='boardgame' id='37111'><thumbnail>//cf.geekdo-images.com/images/pic354500_t.jpg</thumbnail>" +
                        "<image>//cf.geekdo-images.com/images/pic354500.jpg</image>" +
                        string.Format("<name type='primary' sortindex='1' value = '{0}' />", name) +
                        "<name type='alternate' sortindex='1' value='Battlestar Galactica: Das Brettspiel' />" +
                        "<name type='alternate' sortindex='1' value='Battlestar Galactica: El juego de tablero' />" +
                        "<name type='alternate' sortindex='1' value='Battlestar Galactica: Gra planszowa' />" +
                        "<name type='alternate' sortindex='1' value='Battlestar Galactica: il gioco da tavolo' />" +
                        "<name type='alternate' sortindex='1' value='Battlestar Galactica: Le Jeu de Plateau' />" +
                        "<name type='alternate' sortindex='1' value='太空堡垒 卡拉狄加' />" +
                        "<name type='alternate' sortindex='1' value='太空堡垒卡拉狄加' /> " +
                        "</item></items>").Root;
            }
GetBoardGameNameTests.When_Item_Has_Name