@Test
public void testDelete() {

    Id itemId = new Id();
    doReturn(new Response<>(true)).when(stateAdaptorMock).isItemExist(context, itemId);
    doReturn(new Response<>(Void.TYPE)).when(stateAdaptorMock).deleteItem(eq(context), eq(itemId));
    doReturn(new Response<>(Void.TYPE)).when(collaborationAdaptorMock).deleteItem(eq(context), eq(itemId));
    itemManagerImpl.delete(context, itemId);
    verify(collaborationAdaptorMock).deleteItem(context, itemId);
    verify(stateAdaptorMock).deleteItem(context, itemId);
}