*/
@Test
public void testHashCode() throws Exception {
/* ExtendableType */
IExtendableType type1 = fFactory.createLabel(null, "name");
IExtendableType type2 = fFactory.createLabel(null, "name");
IExtendableType type3 = fFactory.createLabel(Long.valueOf(1), "name");
IExtendableType type4 = fFactory.createLabel(Long.valueOf(1), "name");
IExtendableType type5 = fFactory.createLabel(Long.valueOf(1), "name");
IExtendableType type6 = fFactory.createLabel(Long.valueOf(2), "name");
assertFalse(type1.hashCode() == type2.hashCode());
assertTrue(type3.hashCode() == type4.hashCode());
assertFalse(type5.hashCode() == type6.hashCode());
/* ISearchField */
ISearchField fieldLabelName1 = fFactory.createSearchField(ILabel.NAME, ILabel.class);
ISearchField fieldLabelName2 = fFactory.createSearchField(ILabel.NAME, ILabel.class);
ISearchField fieldLabelAllFields = fFactory.createSearchField(IExtendableType.ALL_FIELDS, ILabel.class);