summaryrefslogtreecommitdiffstats
path: root/tests/Parser/TransactionStatementTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Parser/TransactionStatementTest.php')
-rw-r--r--tests/Parser/TransactionStatementTest.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/Parser/TransactionStatementTest.php b/tests/Parser/TransactionStatementTest.php
new file mode 100644
index 0000000..ee625d3
--- /dev/null
+++ b/tests/Parser/TransactionStatementTest.php
@@ -0,0 +1,25 @@
+<?php
+
+namespace SqlParser\Tests\Parser;
+
+use SqlParser\Tests\TestCase;
+
+class TransactionStatementTest extends TestCase
+{
+
+ /**
+ * @dataProvider testTransactionProvider
+ */
+ public function testTransaction($test)
+ {
+ $this->runParserTest($test);
+ }
+
+ public function testTransactionProvider()
+ {
+ return array(
+ array('parseTransaction'),
+ array('parseTransaction2'),
+ );
+ }
+}