for (Object curr : results) {
Map currRow = (Map)curr;
Map location = (Map) currRow.get("location");
Map human_address = (Map) location.get("human_address");
Address address = new Address((String)human_address.get("address"),
(String)human_address.get("city"),
(String)human_address.get("state"),
(String)human_address.get("zip"));
TestCase.assertNotNull(location.get("longitude"));
TestCase.assertNotNull(location.get("latitude"));
TestCase.assertEquals(currRow.get("street"), address.getStreetAddress());
TestCase.assertEquals(currRow.get("city"), address.getCity());
TestCase.assertEquals(currRow.get("state"), address.getState());
TestCase.assertEquals(currRow.get("zipcode"), address.getZip());
}
importer.deleteDataset(dataset.getId());
}