public StatementSyntax AssertEqual(ExpressionSyntax actual, ExpressionSyntax expected)
        {
            if (actual == null)
            {
                throw new ArgumentNullException(nameof(actual));
            }

            if (expected == null)
            {
                throw new ArgumentNullException(nameof(expected));
            }

            return(SyntaxFactory.ExpressionStatement(AssertCall("Equal").WithArgumentList(Generate.Arguments(expected, actual))));
        }
        public StatementSyntax AssertFail(string message)
        {
            if (string.IsNullOrWhiteSpace(message))
            {
                throw new ArgumentNullException(nameof(message));
            }

            return(SyntaxFactory.ExpressionStatement(AssertCall("True").WithArgumentList(Generate.Arguments(Generate.Literal(false), Generate.Literal(message)))));
        }
        public StatementSyntax AssertNotNull(ExpressionSyntax value)
        {
            if (value == null)
            {
                throw new ArgumentNullException(Strings.MsTestTestFramework_CreateTestCaseMethod_value);
            }

            return(SyntaxFactory.ExpressionStatement(AssertCall("NotNull").WithArgumentList(Generate.Arguments(value))));
        }