public void GetIdValue_WhenIntOnFirstLevel_ReturnsInt()
        {
            const int expected = 42;
            var item = new IdentityOnRoot { StructureId = expected };
            var property = StructurePropertyTestFactory.GetPropertyByPath<IdentityOnRoot>("StructureId");

            var actual = property.GetValue(item);

            Assert.AreEqual(expected, actual);
        }
        public void GetIdValue_WhenIntOnFirstLevel_ReturnsInt()
        {
            const int expected = 42;
            var       item     = new IdentityOnRoot {
                Value = expected
            };
            var property = StructurePropertyTestFactory.GetPropertyByPath <IdentityOnRoot>("Value");

            var actual = property.GetValue(item);

            Assert.AreEqual(expected, actual);
        }