Exemplo n.º 1
0
        public void Invoke_WhenUsingSimpleNames_ShouldGenerateCorrectCode()
        {
            var invocation = expressionStatement.Invoke("myClass", "Do");

            Assert.IsNotNull(invocation);
            Assert.AreEqual("myClass.Do();", invocation.AsStatement().ToString());
        }