コード例 #1
0
        public void GetMethodChain_returns_chain_when_none()
        {
            var configuration = new CascadeDeleteConfiguration { DeleteBehavior = OperationAction.None };
            var code = new CSharpCodeHelper();

            Assert.Equal(".WillCascadeOnDelete(false)", configuration.GetMethodChain(code));
        }
コード例 #2
0
        public void GetMethodChain_returns_chain_when_none()
        {
            var configuration = new CascadeDeleteConfiguration {
                DeleteBehavior = OperationAction.None
            };
            var code = new CSharpCodeHelper();

            Assert.Equal(".WillCascadeOnDelete(false)", configuration.GetMethodChain(code));
        }