resource.setIdentifiant(currentId);
List ids=identifiantService.list(currentId);
assertTrue("ids list must be not empty",ids.size()>0);
IdentifiantComponent id1 = (IdentifiantComponent)ids.get(0);
IdentifiantComponent id2 = (IdentifiantComponent)ids.get(1);
assertEquals("name must be cn","cn",id1.getName());
assertEquals("value must be id","id",id1.getValue());
assertTrue("is identifiant a variable must be true",id1.isIdVariable());
assertEquals("name must be givenName","givenName",id2.getName());
assertEquals("value must be firstName","firstName",id2.getValue());
assertFalse("is identifiant a variable must be false",id2.isIdVariable());
}