Ejemplo n.º 1
0
        public void GetBannerByAttributeIdTest(string id)
        {
            if (id is null)
            {
                Assert.ThrowsException <ArgumentNullException>(() =>
                {
                    _ = _bannerDataDocument.GetBannerByAttributeId(id !);
                });

                return;
            }
            else if (id == "asdf")
            {
                Assert.ThrowsException <KeyNotFoundException>(() =>
                {
                    _ = _bannerDataDocument.GetBannerByAttributeId(id);
                });

                return;
            }

            BasicBannerD3DemonHunterRareAsserts(_bannerDataDocument.GetBannerByAttributeId(id));
        }