public void InitializationNull() { NonEmpty AxisItem = new NonEmpty(null); Assert.Throws(Is.TypeOf <MDXException>() .And.Message.EqualTo(MDXTextUtil.GetMessageErrorBaseNotInit(AxisItem)), () => AxisItem.Build()); }
public void InitializationOk() { NonEmpty AxisItem = new NonEmpty(MDXTextUtil.GetMoqMDXAxisItem()); Assert.AreEqual("NON EMPTY { " + MDXTextUtil.GetDummyMember() + " }", AxisItem.Build()); }