コード例 #1
0
        public void InitializationWihtIMDXAxisItemAndCountOfHead()
        {
            Head Item = new Head(MDXTextUtil.GetMoqMDXAxisItem());
            Item.Count = 5;

            Assert.AreEqual("HEAD (" + MDXTextUtil.GetDummyMember() + ", 5)", Item.Build());
        }
コード例 #2
0
        public void InitializationWihtIMDXAxisItem()
        {
            Head Item = new Head(MDXTextUtil.GetMoqMDXAxisItem());

            Assert.Throws(Is.TypeOf<MDXException>()
                            .And.Message.EqualTo(MDXTextUtil.GetMessageErrorBaseNotInit(Item)),
                            () => Item.Build());
        }