@Test
  public void shouldDeleteSyncError() throws Exception {
    saveRnRFormError();

    Integer deletedSize = syncErrorsRepository.deleteBySyncTypeAndObjectId(SyncType.RnRForm, 1l);

    assertThat(deletedSize, is(2));
  }