예제 #1
0
        public void GetSerializedPropertiesInOrder_IdIsThird()
        {
            var sut = new T4MapNodeHelper();

            Assert.AreEqual("Id", sut.GetSerializedPropertiesInOrder().ElementAt(2).Name);
        }
예제 #2
0
        public void GetSerializedPropertiesInOrder_TextIsFirst()
        {
            var sut = new T4MapNodeHelper();

            Assert.AreEqual("Text", sut.GetSerializedPropertiesInOrder().First().Name);
        }
예제 #3
0
        public void GetSerializedPropertiesInOrder_PosIsSecond()
        {
            var sut = new T4MapNodeHelper();

            Assert.AreEqual("Pos", sut.GetSerializedPropertiesInOrder().ElementAt(1).Name);
        }
예제 #4
0
        public void GetSerializedPropertiesInOrder_Count()
        {
            var sut = new T4MapNodeHelper();

            Assert.IsTrue(sut.GetSerializedProperties().Count() == sut.GetSerializedPropertiesInOrder().Count());
        }