public void testIllegal() throws Exception {
map.getViewportModelInternal().setBounds(-300, -250, -180, -140);
System.out.println(map.getViewportModel().getBounds());
WithinLegalLayerBoundsBehaviour behav=new WithinLegalLayerBoundsBehaviour();
MapMouseEvent e=new MapMouseEvent(map.getRenderManager().getMapDisplay(), 0,0, 0,0,0);
behav.isEnabled(handler, e, EventType.MOVED);
assertNotNull( behav.isEnabled(handler, e, EventType.MOVED));
}