Пример #1
0
        public void GetSerializedScalarPropertiesInOrder_StringTypeIsThere()
        {
            var sut = new T4MapNodeHelper();

            Assert.IsTrue(sut.GetSerializedScalarPropertiesInOrder().First().Name.Equals("Text"));
        }
Пример #2
0
        public void GetSerializedScalarPropertiesInOrder_IconsIsNotThere()
        {
            var sut = new T4MapNodeHelper();

            Assert.IsTrue(sut.GetSerializedScalarPropertiesInOrder().All(p => !p.Name.Equals("Icons")));
        }
Пример #3
0
        public void GetSerializedScalarPropertiesInOrder_Count()
        {
            var sut = new T4MapNodeHelper();

            Assert.IsTrue(sut.GetSerializedProperties().Count() > sut.GetSerializedScalarPropertiesInOrder().Count());
        }