public void test01get(){
if(log.isDebugEnabled()) log.debug("*** test01get ***");
List ids=new ArrayList();
IdentifiantComponent ic1 = new IdentifiantComponent("test1","value1",true);
IdentifiantComponent ic2 = new IdentifiantComponent("test2","value2",false);
ids.add(ic1);
ids.add(ic2);
IdentifiantComponent idComp1 = identifiantService.get(ic1.getId(),ids);
IdentifiantComponent idComp2 = identifiantService.get(ic2.getId(),ids);
assertEquals("name must be test1","test1",idComp1.getName());
assertEquals("value must be value1","value1",idComp1.getValue());
assertTrue("is identifiant a variable must be true",idComp1.isIdVariable());
assertEquals("name must be test2","test2",idComp2.getName());
assertEquals("value must be value2","value2",idComp2.getValue());
assertFalse("is identifiant a variable must be false",idComp2.isIdVariable());
}