public void InitWithBaseItemAndCountBySetter()
        {
            BottomCount Item = new BottomCount(MDXTextUtil.GetMoqMDXAxisItem(), 10);
            Item.Count = 5;

            Assert.AreEqual("BottomCount (" + MDXTextUtil.GetDummyMember() + ", 5)", Item.Build());
        }
        public void InitWithBaseItemAndWithoutCount()
        {
            BottomCount Item = new BottomCount(MDXTextUtil.GetMoqMDXAxisItem());

            Assert.Throws(Is.TypeOf<MDXException>()
                            .And.Message.EqualTo(MDXTextUtil.GetMessageErrorBaseNotInit(Item)),
                            () => Item.Build());
        }
        public void InitWithBaseItemAndCountAndMeasure()
        {
            BottomCount Item = new BottomCount(MDXTextUtil.GetMoqMDXAxisItem(), 10, "[Measures].[Sales]");

            Assert.AreEqual("BottomCount (" + MDXTextUtil.GetDummyMember() + ", 10, [Measures].[Sales])", Item.Build());
        }