415416417418419420421422423424425
BatchRequest batchRequest = parser.getBatchRequest(); assertEquals( 1, batchRequest.getRequests().size() ); LdapMessage request = batchRequest.getCurrentRequest(); if ( request instanceof SearchRequest ) { assertTrue( true ); }
451452453454455456457458459460461
BatchRequest batchRequest = parser.getBatchRequest(); assertEquals( 2, batchRequest.getRequests().size() ); LdapMessage request = batchRequest.getCurrentRequest(); if ( request instanceof AddRequest ) { assertTrue( true ); }
487488489490491492493494495496497
BatchRequest batchRequest = parser.getBatchRequest(); assertEquals( 2, batchRequest.getRequests().size() ); LdapMessage request = batchRequest.getCurrentRequest(); if ( request instanceof CompareRequest ) { assertTrue( true ); }
523524525526527528529530531532533
BatchRequest batchRequest = parser.getBatchRequest(); assertEquals( 2, batchRequest.getRequests().size() ); LdapMessage request = batchRequest.getCurrentRequest(); if ( request instanceof AbandonRequest ) { assertTrue( true ); }
559560561562563564565566567568569
BatchRequest batchRequest = parser.getBatchRequest(); assertEquals( 2, batchRequest.getRequests().size() ); LdapMessage request = batchRequest.getCurrentRequest(); if ( request instanceof DelRequest ) { assertTrue( true ); }
595596597598599600601602603604605
BatchRequest batchRequest = parser.getBatchRequest(); assertEquals( 2, batchRequest.getRequests().size() ); LdapMessage request = batchRequest.getCurrentRequest(); if ( request instanceof ExtendedRequest ) { assertTrue( true ); }
631632633634635636637638639640641
BatchRequest batchRequest = parser.getBatchRequest(); assertEquals( 2, batchRequest.getRequests().size() ); LdapMessage request = batchRequest.getCurrentRequest(); if ( request instanceof ModifyDNRequest ) { assertTrue( true ); }
667668669670671672673674675676677
BatchRequest batchRequest = parser.getBatchRequest(); assertEquals( 2, batchRequest.getRequests().size() ); LdapMessage request = batchRequest.getCurrentRequest(); if ( request instanceof ModifyRequest ) { assertTrue( true ); }
703704705706707708709710711712713
BatchRequest batchRequest = parser.getBatchRequest(); assertEquals( 2, batchRequest.getRequests().size() ); LdapMessage request = batchRequest.getCurrentRequest(); if ( request instanceof SearchRequest ) { assertTrue( true ); }
742743744745746747748749750751752
List requests = batchRequest.getRequests(); assertEquals( 2, requests.size() ); LdapMessage request = ( LdapMessage ) requests.get( 0 ); if ( request instanceof BindRequest ) { assertTrue( true ); }