Esempio n. 1
0
        public void GenericQuery()
        {
            var customer = new Customer();
            var clone    = _proxy.GenericQuery(customer);

            Assert.NotSame(clone, customer);
            Assert.IsType <Customer>(clone);
        }
Esempio n. 2
0
        public void Query_result_is_cloned()
        {
            var customer = new Customer();
            var clone    = _proxy.GenericQuery(customer);

            Assert.AreNotSame(clone, customer);
            Assert.IsInstanceOf <Customer>(clone);
        }