diff options
Diffstat (limited to 'tests/Fragments/ArrayFragmentTest.php')
-rw-r--r-- | tests/Fragments/ArrayFragmentTest.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/Fragments/ArrayFragmentTest.php b/tests/Fragments/ArrayFragmentTest.php index f73ce54..9242dbb 100644 --- a/tests/Fragments/ArrayFragmentTest.php +++ b/tests/Fragments/ArrayFragmentTest.php @@ -20,4 +20,21 @@ class ArrayFragmentTest extends TestCase $fragment = new ArrayFragment(array(), array('a', 'b')); $this->assertEquals('(a, b)', ArrayFragment::build($fragment)); } + + /** + * @dataProvider testParseProvider + */ + public function testParse($test) + { + $this->runParserTest($test); + } + + public function testParseProvider() + { + return array( + array('parseArrayErr1'), + array('parseArrayErr2'), + array('parseArrayErr3'), + ); + } } |