public void InitWithNull()
        {
            TopCount Item = new TopCount(null);

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

            Item.Comparator = MDXTextUtil.GetDummySalesMeasure();
            Item.Count      = 5;

            Assert.AreEqual("TOPCOUNT (" + MDXTextUtil.GetDummyMember() + ", 5, " + MDXTextUtil.GetDummySalesMeasure() + ")", Item.Build());
        }