}
public void testLockUnlockFilter() throws Exception {
SimpleFeatureLocking fl;
fl = (SimpleFeatureLocking) rts.getFeatureSource(RENAMED);
final FeatureLock lock = FeatureLockFactory.generate(10 * 60 * 1000);
Transaction t = new DefaultTransaction();
t.addAuthorization(lock.getAuthorization());
fl.setTransaction(t);
fl.setFeatureLock(lock);
SimpleFeatureLocking fl2;
fl2 = (SimpleFeatureLocking) rts.getFeatureSource(RENAMED);