* EntryChangeControl but not deletes.
*/
@Test
public void testPsearchAddModifyEnabledWithEC() throws Exception
{
PersistentSearch ctrl = new PersistentSearchImpl();
ctrl.setReturnECs( true );
ctrl.setChangeTypes( ChangeType.ADD.getValue() );
ctrl.enableNotification( ChangeType.MODIFY );
setUpListener( true, ctrl, false );
ctx.createSubcontext( "cn=Jack Black", getPersonAttributes( "Black", "Jack Black" ) );
waitForThreadToDie( t );
assertNotNull( listener.result );