catch ( Exception e )
{
fail( e.getMessage() );
}
CompareRequest compareRequest = ( CompareRequest ) parser.getBatchRequest().getCurrentRequest();
assertEquals( "cn=Bob Rush,ou=Dev,dc=Example,dc=COM", compareRequest.getName().getNormName() );
assertEquals( "sn", compareRequest.getAttributeId() );
assertEquals( "DSMLv2.0 rocks!!", new String( compareRequest.getAssertionValue().getBytes() ) );
}