catch ( Exception e )
{
fail( e.getMessage() );
}
BatchResponseDsml batchResponse = parser.getBatchResponse();
assertEquals( 2, batchResponse.getResponses().size() );
DsmlDecorator<? extends Response> response = batchResponse.getCurrentResponse();
if ( response.getDecorated() instanceof SearchResponse )
{
assertTrue( true );
}