234235236237238239240241242243244
BatchResponse batchResponse = parser.getBatchResponse(); assertEquals( 1, batchResponse.getResponses().size() ); LdapResponse response = batchResponse.getCurrentResponse(); if ( response instanceof DelResponse ) { assertTrue( true ); }
270271272273274275276277278279280
BatchResponse batchResponse = parser.getBatchResponse(); assertEquals( 1, batchResponse.getResponses().size() ); LdapResponse response = batchResponse.getCurrentResponse(); if ( response instanceof ErrorResponse ) { assertTrue( true ); }
307308309310311312313314315316317
BatchResponse batchResponse = parser.getBatchResponse(); assertEquals( 1, batchResponse.getResponses().size() ); LdapResponse response = batchResponse.getCurrentResponse(); if ( response instanceof ExtendedResponse ) { assertTrue( true ); }
343344345346347348349350351352353
BatchResponse batchResponse = parser.getBatchResponse(); assertEquals( 1, batchResponse.getResponses().size() ); LdapResponse response = batchResponse.getCurrentResponse(); if ( response instanceof ModifyDNResponse ) { assertTrue( true ); }
379380381382383384385386387388389
BatchResponse batchResponse = parser.getBatchResponse(); assertEquals( 1, batchResponse.getResponses().size() ); LdapResponse response = batchResponse.getCurrentResponse(); if ( response instanceof ModifyResponse ) { assertTrue( true ); }
415416417418419420421422423424425
BatchResponse batchResponse = parser.getBatchResponse(); assertEquals( 1, batchResponse.getResponses().size() ); LdapResponse response = batchResponse.getCurrentResponse(); if ( response instanceof SearchResponse ) { assertTrue( true ); }
451452453454455456457458459460461
BatchResponse batchResponse = parser.getBatchResponse(); assertEquals( 2, batchResponse.getResponses().size() ); LdapResponse response = batchResponse.getCurrentResponse(); if ( response instanceof AddResponse ) { assertTrue( true ); }
487488489490491492493494495496497
BatchResponse batchResponse = parser.getBatchResponse(); assertEquals( 2, batchResponse.getResponses().size() ); LdapResponse response = batchResponse.getCurrentResponse(); if ( response instanceof BindResponse ) { assertTrue( true ); }
524525526527528529530531532533534
BatchResponse batchResponse = parser.getBatchResponse(); assertEquals( 2, batchResponse.getResponses().size() ); LdapResponse response = batchResponse.getCurrentResponse(); if ( response instanceof CompareResponse ) { assertTrue( true ); }
560561562563564565566567568569570
BatchResponse batchResponse = parser.getBatchResponse(); assertEquals( 2, batchResponse.getResponses().size() ); LdapResponse response = batchResponse.getCurrentResponse(); if ( response instanceof DelResponse ) { assertTrue( true ); }