/**
   * Delete a random ME. Revert delete.
   *
   * @throws ESException ESException
   * @throws SerializationException SerializationException
   */
  @Test
  public void deleteAndRevertDeleteTest() throws SerializationException, ESException {
    System.out.println("DeleteAndRevertDeleteTest");

    final IntegrationTestHelper testHelper =
        new IntegrationTestHelper(randomSeed, getTestProject());
    testHelper.doDeleteAndRevert();

    commitChanges();
    assertTrue(ModelUtil.areEqual(getTestProject(), getCompareProject()));
  }
  /**
   * Create a random ME. Delete ME.
   *
   * @throws ESException ESException
   * @throws SerializationException SerializationException
   */
  @Test
  public void createDeleteTest() throws SerializationException, ESException {
    System.out.println("CreateDeleteTest");
    final IntegrationTestHelper testHelper =
        new IntegrationTestHelper(randomSeed, getTestProject());
    new EMFStoreCommand() {

      @Override
      protected void doRun() {
        testHelper.doCreateDelete();
      }
    }.run(false);

    commitChanges();
    assertTrue(ModelUtil.areEqual(getTestProject(), getCompareProject()));
  }