public function testReplace() {
$this->session
->replace(array(
'happiness' => 'be good',
'symfony' => 'awesome',
));
$this
->assertEquals(array(
'happiness' => 'be good',
'symfony' => 'awesome',
), $this->session
->all());
$this->session
->replace(array());
$this
->assertEquals(array(), $this->session
->all());
}