DeleteRequest deleteRequest = new DeleteRequestImpl();
deleteRequest.setName( new Dn( "cn=grand_child12,cn=child1,cn=parent,ou=system" ) );
DeleteFuture deleteFuture = connection.deleteAsync( deleteRequest );
DeleteResponse deleteResponse = deleteFuture.get( 1000, TimeUnit.MILLISECONDS );
assertNotNull( deleteResponse );
assertEquals( ResultCodeEnum.SUCCESS, deleteResponse.getLdapResult().getResultCode() );
assertTrue( connection.isAuthenticated() );
assertFalse( session.exists( "cn=grand_child12,cn=child1,cn=parent,ou=system" ) );
}