Definition at line 26 of file RenamingDICTest.php.
◆ testRenaming()
ILIAS\Component\Tests\Dependencies\RenamingDICTest::testRenaming |
( |
| ) |
|
Definition at line 28 of file RenamingDICTest.php.
References $data, $id, and null.
31 public array
$data = [];
33 public function offsetSet(
$id, $value): void
35 $this->data[] = [
$id, $value];
38 public function offsetGet(
$id):
null 41 public function offsetExists(
$id): false
44 public function offsetUnset(
$id): void
48 $wrapper =
new RenamingDIC($wrapped);
50 $wrapper[
"Foo"] =
"Bar";
51 $wrapper[
"Baz"] =
"Bla";
52 $wrapper[
"Foo"] =
"Foobar";
54 $expected = [[
"Foo_0",
"Bar"], [
"Baz_1",
"Bla"], [
"Foo_2",
"Foobar"]];
55 $this->assertEquals($expected, $wrapped->data);
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
The documentation for this class was generated from the following file: