Skip to content

Commit dbf1be0

Browse files
committed
Increase Code coverage
1 parent c8c3c10 commit dbf1be0

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

tests/Unit/Utils/DataContainerTest.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,4 +129,18 @@ public function testGetWithUnknownDataInsideAccessableThrowsException()
129129

130130
$data->get('fuz.foo.bar');
131131
}
132+
133+
/**
134+
* @test
135+
*/
136+
public function testAsArray()
137+
{
138+
$data = new DataContainer;
139+
$data->set('foo', 'bar');
140+
141+
$this->assertSame(
142+
['foo' => 'bar'],
143+
$data->asArray()
144+
);
145+
}
132146
}

0 commit comments

Comments
 (0)