*/
@Test
public void testHashCode() throws Exception {
/* ExtendableType */
IPersistable type1 = fFactory.createLabel(null, "name");
IPersistable type2 = fFactory.createLabel(null, "name");
IPersistable type3 = fFactory.createLabel(Long.valueOf(1), "name");
IPersistable type4 = fFactory.createLabel(Long.valueOf(1), "name");
IPersistable type5 = fFactory.createLabel(Long.valueOf(1), "name");
IPersistable 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.getName());
ISearchField fieldLabelName2 = fFactory.createSearchField(ILabel.NAME, ILabel.class.getName());
ISearchField fieldLabelAllFields = fFactory.createSearchField(IEntity.ALL_FIELDS, ILabel.class.getName());