public function testCollectionWithMultiplePersistors()
 {
     $persistor = new Persistors\Session(array('test', 'test'));
     $persistor2 = new Persistors\CsvFile('php://output', true, 'w');
     $collection = new Strategy\Collection($this->getData(), $persistor);
     $this->assertTrue($collection->save());
     $this->assertEquals($_SESSION['test']['test'], $this->getData());
     $collection->setPersistor($persistor2);
     $collection->save();
     $this->expectOutputRegex('@^\\w+,\\w+,\\w+@');
     $this->expectOutputRegex('@\\"\\d{4}\\-\\d{2}\\-\\d{2}\\s\\d{2}\\:\\d{2}\\:\\d{2}\\"$@');
 }