@Test
public void testDelete()  {

  Id itemId = new Id();
  Id versionId = new Id();
  mockExistingVersion(Space.PRIVATE, itemId, versionId);
  doReturn(new Response<>(Void.TYPE)).when(collaborationAdaptorMock)
      .deleteItemVersion(context, itemId, versionId);
  doReturn(new Response<>(Void.TYPE)).when(stateAdaptorMock)
      .deleteItemVersion(context, Space.PRIVATE, itemId, versionId);
  itemVersionManagerImpl.delete(context, itemId, versionId);
  verify(collaborationAdaptorMock).deleteItemVersion(context, itemId, versionId);
  verify(stateAdaptorMock).deleteItemVersion(context, Space.PRIVATE, itemId, versionId);
}