public function testPeekAll() {
$this->bag
->set('notice', 'Foo');
$this->bag
->set('error', 'Bar');
$this
->assertEquals(array(
'notice' => array(
'Foo',
),
'error' => array(
'Bar',
),
), $this->bag
->peekAll());
$this
->assertTrue($this->bag
->has('notice'));
$this
->assertTrue($this->bag
->has('error'));
$this
->assertEquals(array(
'notice' => array(
'Foo',
),
'error' => array(
'Bar',
),
), $this->bag
->peekAll());
}