@Test
public void testEntityModelEqualsByIdAndType() {

    EntityModel entityModelOne = new EntityModel();
    EntityModel entityModelTwo = new EntityModel();
    assertTrue(EntityUtil.areEqualByIdAndType(entityModelOne, entityModelTwo));
    entityModelOne.setValue(new StringFieldModel("id", "ID_HERE"));
    entityModelTwo.setValue(new StringFieldModel("id", "ID_HERE"));
    assertTrue(EntityUtil.areEqualByIdAndType(entityModelOne, entityModelTwo));
    entityModelOne.setValue(new StringFieldModel("type", "work_item"));
    entityModelTwo.setValue(new StringFieldModel("type", "work_item"));
    assertTrue(EntityUtil.areEqualByIdAndType(entityModelOne, entityModelTwo));
    entityModelOne.setValue(new StringFieldModel("type", "test"));
    assertFalse(EntityUtil.areEqualByIdAndType(entityModelOne, entityModelTwo));
    entityModelOne.setValue(new StringFieldModel("type", "work_item"));
    entityModelOne.setValue(new StringFieldModel("id", "NEW_ID"));
    assertFalse(EntityUtil.areEqualByIdAndType(entityModelOne, entityModelTwo));
}