assertEquals(getNumberOfLabels(),0);
}
public void testGetLabelsForHotelDescription() throws Exception {
Label label = new Label();
label.setCode("hotel.description");
label.setLanguage("it");
label.setText("Descrizione in italiano");
label.setOwnerId(1);
labelRawManager.add(label);
Label labelEnglish = new Label();
labelEnglish.setCode("hotel.description");
labelEnglish.setLanguage("en");
labelEnglish.setText("Description in english");
labelEnglish.setOwnerId(1);
labelRawManager.add(labelEnglish);
assertEquals(2, getNumberOfLabels());
HashMap<String,Label> labels = labelRawManager.getLabels(1,"hotel.description");
assertNotNull(labels);