assertNotNull(parsed);
assertTrue(parsed.getClass().getName(), parsed instanceof TransactionResponseType);
TransactionResponseType response = (TransactionResponseType) parsed;
InsertResultsType insert = response.getInsertResults();
assertEquals(0, insert.getFeature().size());
parsed = parser.parse(getClass().getResourceAsStream("transactionResponse2.xml"));
assertNotNull(parsed);
assertTrue(parsed.getClass().getName(), parsed instanceof TransactionResponseType);
response = (TransactionResponseType) parsed;
insert = response.getInsertResults();
assertEquals(2, insert.getFeature().size());
assertEquals("fid1", ((InsertedFeatureType) insert.getFeature().get(0)).getFeatureId().get(0).toString());
assertEquals("fid2", ((InsertedFeatureType) insert.getFeature().get(1)).getFeatureId().get(0).toString());
}