public class KmlFormatIT {
@Test
public void testReader() throws FileNotFoundException, JAXBException {
Reader reader = new FileReader(TEST_PATH + "from20.kml");
Kml kml = (Kml) newUnmarshaller20().unmarshal(reader);
assertNotNull(kml);
assertNotNull(kml.getFolder());
assertEquals(3, kml.getFolder().getDocumentOrFolderOrGroundOverlay().size());
}