public void InitWithbaseItemAndOptionBySetter()
        {
            Count Item = new Count(MDXTextUtil.GetMoqMDXAxisItem());
            Item.Options = Count.Key.EXCLUDEEMPTY;

            Assert.AreEqual("Count (" + MDXTextUtil.GetDummyMember() + ", " + Count.Key.EXCLUDEEMPTY.ToString() + ")", Item.Build());
        }
        public void InitWithNull()
        {
            Count Item = new Count(null);

            Assert.Throws(Is.TypeOf<MDXException>()
                            .And.Message.EqualTo(MDXTextUtil.GetMessageErrorBaseNotInit(Item)),
                            () => Item.Build());
        }
        public void InitWithBaseItem()
        {
            Count Item = new Count(MDXTextUtil.GetMoqMDXAxisItem());

            Assert.AreEqual("Count (" + MDXTextUtil.GetDummyMember() + ")", Item.Build());
        }