private function limitTest($limits) { foreach ($limits as $parameter => $limit) { $this->assertRegExp('/^ ([[(]) (.+) , (.+?) ([])]) $/x', $limit); } }