catch ( Exception e )
{
fail( e.getMessage() );
}
CompareRequest compareRequest = ( CompareRequest ) parser.getBatchRequest().getCurrentRequest();
assertEquals( "cn=Bob Rush,ou=Dev,dc=Example,dc=COM", ( String ) compareRequest.getEntry().toString() );
assertEquals( "sn", ( String ) compareRequest.getAttributeDesc() );
assertEquals( "DSMLv2.0 rocks!!", new String( ( byte[] ) compareRequest.getAssertionValue() ) );
}