125126127128129130131132133134135
BatchResponse batchResponse = parser.getBatchResponse(); assertEquals( 1, batchResponse.getResponses().size() ); LdapResponse response = batchResponse.getCurrentResponse(); if ( response instanceof AddResponse ) { assertTrue( true ); }
161162163164165166167168169170171
BatchResponse batchResponse = parser.getBatchResponse(); assertEquals( 1, batchResponse.getResponses().size() ); LdapResponse response = batchResponse.getCurrentResponse(); if ( response instanceof BindResponse ) { assertTrue( true ); }
198199200201202203204205206207208
BatchResponse batchResponse = parser.getBatchResponse(); assertEquals( 1, batchResponse.getResponses().size() ); LdapResponse response = batchResponse.getCurrentResponse(); if ( response instanceof CompareResponse ) { assertTrue( true ); }
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 ); }