@covers Symfony\Component\HttpFoundation\Session\Flash\FlashBag::count
public function testCount() {
$flashes = array(
'hello' => 'world',
'beep' => 'boop',
'notice' => 'nope',
);
foreach ($flashes as $key => $val) {
$this->bag
->set($key, $val);
}
$this
->assertEquals(count($flashes), count($this->bag));
}