public void Argument_can_be_constructed() { var expected = 42; var expression = new RDomLiteralExpression(expected); var arg = new RDomArgument(expression); Assert.IsNotNull(expression); Assert.IsNotNull(arg); var actual = RDom.CSharp.GetSyntaxNode(arg).ToFullString(); Assert.AreEqual(expected.ToString(), actual); }
internal RDomLiteralExpression(RDomLiteralExpression oldRDom) : base(oldRDom) { _literal = oldRDom.Literal; }