/** * Tests the JAccessRule::getData method. * * @return void * * @since 12.2 */ public function testGetData() { $array = array(-42 => 1, 2 => 1, 3 => 0); $rule = new JAccessRule($array); $this->assertEquals($array, $rule->getData()); }