356357358359360361362363364365366367368369370
catch ( Exception e ) { fail( e.getMessage() ); } BatchRequestDsml batchRequest = parser.getBatchRequest(); assertEquals( 1, batchRequest.getRequests().size() ); if ( batchRequest.getCurrentRequest() instanceof ModifyDnRequest ) { assertTrue( true ); } else {
392393394395396397398399400401402403404405406
catch ( Exception e ) { fail( e.getMessage() ); } BatchRequestDsml batchRequest = parser.getBatchRequest(); assertEquals( 1, batchRequest.getRequests().size() ); if ( batchRequest.getCurrentRequest() instanceof ModifyRequest ) { assertTrue( true ); } else {
428429430431432433434435436437438439440441442
catch ( Exception e ) { fail( e.getMessage() ); } BatchRequestDsml batchRequest = parser.getBatchRequest(); assertEquals( 1, batchRequest.getRequests().size() ); if ( batchRequest.getCurrentRequest() instanceof SearchRequest ) { assertTrue( true ); } else {
464465466467468469470471472473474475476477478
catch ( Exception e ) { fail( e.getMessage() ); } BatchRequestDsml batchRequest = parser.getBatchRequest(); assertEquals( 2, batchRequest.getRequests().size() ); if ( batchRequest.getCurrentRequest() instanceof AddRequest ) { assertTrue( true ); } else {
500501502503504505506507508509510511512513514
catch ( Exception e ) { fail( e.getMessage() ); } BatchRequestDsml batchRequest = parser.getBatchRequest(); assertEquals( 2, batchRequest.getRequests().size() ); if ( batchRequest.getCurrentRequest() instanceof CompareRequest ) { assertTrue( true ); } else {
536537538539540541542543544545546547548549550
catch ( Exception e ) { fail( e.getMessage() ); } BatchRequestDsml batchRequest = parser.getBatchRequest(); assertEquals( 2, batchRequest.getRequests().size() ); if ( batchRequest.getCurrentRequest() instanceof AbandonRequest ) { assertTrue( true ); } else {
572573574575576577578579580581582583584585586
catch ( Exception e ) { fail( e.getMessage() ); } BatchRequestDsml batchRequest = parser.getBatchRequest(); assertEquals( 2, batchRequest.getRequests().size() ); if ( batchRequest.getCurrentRequest() instanceof DeleteRequest ) { assertTrue( true ); } else {
608609610611612613614615616617618619620621622
catch ( Exception e ) { fail( e.getMessage() ); } BatchRequestDsml batchRequest = parser.getBatchRequest(); assertEquals( 2, batchRequest.getRequests().size() ); if ( batchRequest.getCurrentRequest() instanceof ExtendedRequest ) { assertTrue( true ); } else {
644645646647648649650651652653654655656657658
catch ( Exception e ) { fail( e.getMessage() ); } BatchRequestDsml batchRequest = parser.getBatchRequest(); assertEquals( 2, batchRequest.getRequests().size() ); if ( batchRequest.getCurrentRequest() instanceof ModifyDnRequest ) { assertTrue( true ); } else {
680681682683684685686687688689690691692693694
catch ( Exception e ) { fail( e.getMessage() ); } BatchRequestDsml batchRequest = parser.getBatchRequest(); assertEquals( 2, batchRequest.getRequests().size() ); if ( batchRequest.getCurrentRequest() instanceof ModifyRequest ) { assertTrue( true ); } else {