Exemplo n.º 1
0
        public void prop_Expected()
        {
            var obj = new PropertyGetterTest(null, false)
            {
                Expected = true
            };

            var actual = (bool)obj.Expected;

            Assert.True(actual);
        }
Exemplo n.º 2
0
        public void prop_Expected()
        {
            var obj = new PropertyGetterTest(null, false)
                          {
                              Expected = true
                          };

            var actual = (bool)obj.Expected;

            Assert.True(actual);
        }
        public void prop_Expected()
        {
            var expected = typeof(PropertiedClass1).GetProperty("AutoBoolean");

            var obj = new PropertyGetterTest<int>(null)
                          {
                              Expected = expected
                          };

            var actual = obj.Expected;

            Assert.Same(expected, actual);
        }
        public void prop_Expected()
        {
            var expected = typeof(PropertiedClass1).GetProperty("AutoBoolean");

            var obj = new PropertyGetterTest <int>(null)
            {
                Expected = expected
            };

            var actual = obj.Expected;

            Assert.Same(expected, actual);
        }