@Test
  public void testIsNewIntroducedDeleted() {
    ChangeVersion object1 = ChangeTestUtility.createChange(200L, null);
    for (ModificationType modType : ModificationType.values()) {
      object1.setModType(null);
      Assert.assertNull(object1.getModType());

      Assert.assertEquals(false, ChangeItemUtil.isNew(object1));
      Assert.assertEquals(false, ChangeItemUtil.isIntroduced(object1));
      Assert.assertEquals(false, ChangeItemUtil.isDeleted(object1));

      object1.setModType(modType);
      Assert.assertEquals(modType, object1.getModType());
      Assert.assertEquals(modType == ModificationType.NEW, ChangeItemUtil.isNew(object1));
      Assert.assertEquals(
          modType == ModificationType.INTRODUCED, ChangeItemUtil.isIntroduced(object1));
      Assert.assertEquals(
          modType == ModificationType.DELETED || modType == ModificationType.ARTIFACT_DELETED,
          ChangeItemUtil.isDeleted(object1));
    }

    Assert.assertEquals(false, ChangeItemUtil.isNew(null));
    Assert.assertEquals(false, ChangeItemUtil.isIntroduced(null));
    Assert.assertEquals(false, ChangeItemUtil.isDeleted(null));
  }
  @Test
  public void testIsModType() {
    ChangeVersion object1 = ChangeTestUtility.createChange(200L, null);
    Assert.assertNull(object1.getModType());
    Assert.assertEquals(true, ChangeItemUtil.isModType(object1, null));

    for (ModificationType modType : ModificationType.values()) {
      object1.setModType(null);
      Assert.assertNull(object1.getModType());
      object1.setModType(modType);

      Assert.assertEquals(modType, object1.getModType());
      Assert.assertTrue(ChangeItemUtil.isModType(object1, modType));
    }
    Assert.assertEquals(false, ChangeItemUtil.isModType(null, ModificationType.NEW));
  }