use of com.yahoo.prelude.query.EquivItem in project vespa by vespa-engine.
the class SerializeItemTestCase method serialize_equiv_item.
@Test
public void serialize_equiv_item() throws ParseException {
EquivItem equivItem = new EquivItem();
equivItem.addItem(new WordItem("first"));
EquivItem deSerialized = serializeThenParse(equivItem);
assertThat(deSerialized.getItemCount(), is(1));
}
Aggregations