final Copyright copyright = new Copyright(123432, bounds, 3,
"2008 Google testTileLayerTrigger");
CopyrightCollection collection = new CopyrightCollection();
collection.addCopyright(copyright);
final TileLayer tileLayer = getTileLayer(collection);
tileLayer.addTileLayerNewCopyrightHandler(new TileLayerNewCopyrightHandler() {
public void onNewCopyright(TileLayerNewCopyrightEvent event) {
assertEquals(tileLayer, event.getSender());
assertEquals(copyright, event.getCopyright());
finishTest();