|
@@ 93-101 (lines=9) @@
|
| 90 |
|
new DataWrapper('some string'); |
| 91 |
|
} |
| 92 |
|
|
| 93 |
|
public function testDummyArrayUnset() |
| 94 |
|
{ |
| 95 |
|
$wrapper = $this->prepareWrapper(FALSE); |
| 96 |
|
|
| 97 |
|
$this->expectException(\RuntimeException::class); |
| 98 |
|
$this->expectExceptionMessage("DataWraper is just read-only wrapper"); |
| 99 |
|
|
| 100 |
|
unset($wrapper['someField']); |
| 101 |
|
} |
| 102 |
|
|
| 103 |
|
public function testDummyArraySet() |
| 104 |
|
{ |
|
@@ 103-111 (lines=9) @@
|
| 100 |
|
unset($wrapper['someField']); |
| 101 |
|
} |
| 102 |
|
|
| 103 |
|
public function testDummyArraySet() |
| 104 |
|
{ |
| 105 |
|
$wrapper = $this->prepareWrapper(FALSE); |
| 106 |
|
|
| 107 |
|
$this->expectException(\RuntimeException::class); |
| 108 |
|
$this->expectExceptionMessage("DataWraper is just read-only wrapper"); |
| 109 |
|
|
| 110 |
|
$wrapper['someField'] = 'some string'; |
| 111 |
|
} |
| 112 |
|
|
| 113 |
|
public function testCheckFieldDirect() |
| 114 |
|
{ |