public function testWriteDataOutput()
{
$ary = array(array('name' => 'Test1', 'email' => '[email protected]'), array('name' => 'Test2', 'email' => '[email protected]'));
$this->setExpectedException('Pop\\Http\\Exception');
Data::factory($ary)->writeData(__DIR__ . '/../tmp/datatest.csv', true);
}