public function testToArray()
 {
     $obj = new stdClass();
     $obj->property = 'value3';
     $resultSet1 = new ResultSet([['key' => 'value0'], new \Model\Base(['property' => 'value1']), 'value2', $obj]);
     $array = $resultSet1->toArray();
     $expected = [['key' => 'value0'], ['property' => 'value1', 'attr' => null, 'other' => null], 'value2', ['property' => 'value3']];
     $this->assertEquals($expected, $array);
 }