public void GenericQuery() { var customer = new Customer(); var clone = _proxy.GenericQuery(customer); Assert.NotSame(clone, customer); Assert.IsType <Customer>(clone); }
public void Query_result_is_cloned() { var customer = new Customer(); var clone = _proxy.GenericQuery(customer); Assert.AreNotSame(clone, customer); Assert.IsInstanceOf <Customer>(clone); }