def METHOD_NAME(self, mock_ast_parse):
    command = "variable.method()"
    mock_ast_parse.assert_not_called()
    SampleCodeValidator(command)
    mock_ast_parse.assert_called_with(command, mode="eval")