コード例 #1
0
        public void Create_ValidTypes_ContextCanBeCreated()
        {
            var propertyMap = PropertyMapFactory.CreateReal(typeof(A), typeof(B), nameof(A.P1), nameof(B.P1));

            var context = new PropertyNameContext(propertyMap);

            Assert.IsNotNull(context);
        }
コード例 #2
0
        public void Create_ValidTypes_ReturnsNotNull()
        {
            var propertyMap = PropertyMapFactory.CreateReal(typeof(A), typeof(B), nameof(A.P1), nameof(B.P1));

            Assert.IsNotNull(propertyMap);
        }