t1.commit();
assertEquals(1, listener.list.size());
assertEquals(2, listener1.list.size());
BatchFeatureEvent batch = (BatchFeatureEvent) listener1.list.get(2);
assertFalse("confirm tempFid is not in the commit",
id.getIdentifiers().contains(tempFeatureId));
assertNotNull(batch.getFilter());
FeatureId featureId = (FeatureId) batch.getCreatedFeatureIds().iterator().next();
assertSame("confirm temp feature Id was updated", tempFeatureId, featureId);
}