|
@@ 108-114 (lines=7) @@
|
| 105 |
|
$this->assertNotEmpty($result); |
| 106 |
|
} |
| 107 |
|
|
| 108 |
|
public function testGetArrayRows() |
| 109 |
|
{ |
| 110 |
|
$this->element->setValue([['te<s>t' => 't<e>st', 'data&1' => 'da&ta1']]); |
| 111 |
|
|
| 112 |
|
$result = $this->classToTest->getArrayRows(); |
| 113 |
|
$this->assertNotEmpty($result); |
| 114 |
|
} |
| 115 |
|
|
| 116 |
|
public function testGetArrayRowsSerialized() |
| 117 |
|
{ |
|
@@ 116-122 (lines=7) @@
|
| 113 |
|
$this->assertNotEmpty($result); |
| 114 |
|
} |
| 115 |
|
|
| 116 |
|
public function testGetArrayRowsSerialized() |
| 117 |
|
{ |
| 118 |
|
$this->element->setValue(serialize([['te<s>t' => 't<e>st', 'data&1' => 'da&ta1']])); |
| 119 |
|
|
| 120 |
|
$result = $this->classToTest->getArrayRows(); |
| 121 |
|
$this->assertNotEmpty($result); |
| 122 |
|
} |
| 123 |
|
} |
| 124 |
|
|