@Test
public void testNotifiesMultipleValidListenerActivated() {
QueryNotifier notifier = new QueryNotifier();
QueryListener listener = mock( QueryListener.class );
QueryListener listener2 = mock( QueryListener.class );
QueryImpl query = new QueryImpl( new AlwaysTrueContidtion() );
Query query2 = new QueryImpl( new AlwaysTrueContidtion() ).and( new MaxWidthCondition( px( 99 ) ) );
notifier.addQueryListener( query, listener );
notifier.addQueryListener( query2, listener2 );
notifier.notifyListeners( createEnvironment( new Bounds( 0, 0, 90, 0 ) ) );