コード例 #1
0
        public void Proxies_correct_interfaces_for_default_strategy()
        {
            using var context = new DefaultContext();
            var proxy     = context.CreateProxy <ChangeValueEntity>();
            var proxyType = proxy.GetType();

            Assert.True(changeInterface.IsAssignableFrom(proxyType));
            Assert.True(changingInterface.IsAssignableFrom(proxyType));
        }