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)); }