public void InitializationWihtIMDXAxisItemAndCountOfHead() { Head Item = new Head(MDXTextUtil.GetMoqMDXAxisItem()); Item.Count = 5; Assert.AreEqual("HEAD (" + MDXTextUtil.GetDummyMember() + ", 5)", Item.Build()); }
public void InitializationWihtIMDXAxisItem() { Head Item = new Head(MDXTextUtil.GetMoqMDXAxisItem()); Assert.Throws(Is.TypeOf<MDXException>() .And.Message.EqualTo(MDXTextUtil.GetMessageErrorBaseNotInit(Item)), () => Item.Build()); }