public void Parse_Crimson_Raiment_Body_Armour_Stash_Item() { var json = @" { ""verified"": false, ""w"": 2, ""h"": 3, ""ilvl"": 80, ""icon"": ""http://web.poecdn.com/image/Art/2DItems/Armours/BodyArmours/BodyDexInt1C.png?scale=1&scaleIndex=0&w=2&h=3&v=58c31e9c01e3395af3661627cabc0db5"", ""league"": ""Betrayal"", ""id"": ""ed94d9abb283f2d7b4701782cb4ee1e27b0809162f47513030cefc6fde65342c"", ""sockets"": [ { ""group"": 0, ""attr"": ""D"", ""sColour"": ""G"" }, { ""group"": 0, ""attr"": ""I"", ""sColour"": ""B"" }, { ""group"": 0, ""attr"": ""S"", ""sColour"": ""R"" }, { ""group"": 0, ""attr"": ""I"", ""sColour"": ""B"" }, { ""group"": 0, ""attr"": ""I"", ""sColour"": ""B"" }, { ""group"": 1, ""attr"": ""D"", ""sColour"": ""G"" } ], ""name"": ""Storm Coat"", ""typeLine"": ""Crimson Raiment"", ""identified"": true, ""note"": ""~price 25 chaos"", ""properties"": [ { ""name"": ""Quality"", ""values"": [ [ ""+20%"", 1 ] ], ""displayMode"": 0, ""type"": 6 }, { ""name"": ""Evasion Rating"", ""values"": [ [ ""317"", 1 ] ], ""displayMode"": 0, ""type"": 17 }, { ""name"": ""Energy Shield"", ""values"": [ [ ""62"", 1 ] ], ""displayMode"": 0, ""type"": 18 } ], ""requirements"": [ { ""name"": ""Level"", ""values"": [ [ ""64"", 0 ] ], ""displayMode"": 0, ""type"": 0 }, { ""name"": ""Dex"", ""values"": [ [ ""71"", 0 ] ], ""displayMode"": 1, ""type"": 0 }, { ""name"": ""Int"", ""values"": [ [ ""71"", 0 ] ], ""displayMode"": 1, ""type"": 0 } ], ""implicitMods"": null, ""explicitMods"": [ ""+1 to Level of Socketed Active Skill Gems"", ""+30 to Intelligence"", ""+100 to maximum Life"", ""1.4 Life Regenerated per second"", ""+54 to maximum Mana"" ], ""flavourText"": null, ""frameType"": 2, ""category"": { ""weapons"": null, ""armour"": [ ""chest"" ], ""gems"": null, ""flasks"": null, ""jewels"": null, ""accessories"": null }, ""x"": 4, ""y"": 15, ""inventoryId"": ""Stash89"", ""elder"": false, ""shaper"": true, ""socketedItems"": [] }"; var item = Utility.Deserialize <StashTabsResponse.Stash.Item>(json); ExpectedProperties = new[] { "Quality: +20%", "Evasion Rating: 317", "Energy Shield: 62", }; ExpectedExplicitMods = new[] { "+1 to Level of Socketed Active Skill Gems", "+30 to Intelligence", "+100 to maximum Life", "1.4 Life Regenerated per second", "+54 to maximum Mana" }; var armour = new Armour { Name = "Storm Coat", ArmourType = ArmourType.Chest, Type = "Crimson Raiment", ItemLevel = 82, League = Leagues.Betrayal, }; armour.Requirements.Level = 64; armour.Requirements.Dexterity = 71; armour.Requirements.Intelligence = 71; armour.AddProperty(Key.Quality, 0.20); Assert_Stash_Item(item); }