public function testRemoveCorruptDataArray() { $data = array(array("asdf"), array('key1' => "Teste", "key2" => "Teste")); $phlatdb = new Phlatdb(new JsonLineEncoder()); $phlatdb->insert($data); $result = $phlatdb->getRawData(); $this->assertNotEquals($data, $result); $this->assertEquals(array(array('key1' => "Teste", "key2" => "Teste")), $result); }