public void Returns_MethodWithAttribute()
        {
            var methodName      = "method";
            var attributeName   = "someAttribute";
            var methodBody      = new List <SyntaxNode>();
            var syntaxGenerator = new SyntaxGeneratorProvider().GetSyntaxGenerator();

            var actual = _target.GenerateMethodWithAttribute(methodName, attributeName, methodBody, syntaxGenerator);
            var asText = actual.GetText().ToString();

            var expected = "[someAttribute]publicvoidmethod(){}";

            Assert.Equal(expected, asText);
        }