source: class ItemVersionManagerImplTest {
  
    private static final UserInfo USER;
    private static final SessionContext context;
    @Mock
    private ItemVersionStateAdaptor stateAdaptorMock;
    @Mock
    private CollaborationAdaptor collaborationAdaptorMock;
    @Mock
    private ItemManager itemManagerMock;
    @Mock
    private ElementManager elementManagerMock;
    @InjectMocks
    @Spy
    private ItemVersionManagerImpl itemVersionManagerImpl;
  
    @Test(expectedExceptions = ZusammenException.class)
    public void testCreateBasedOnNonExisting()  {
  
target:     Id itemId = new Id();
      Id baseVersionId = new Id();
      mockNonExistingVersion(Space.PRIVATE, itemId, baseVersionId);
      itemVersionManagerImpl.create(context, itemId, baseVersionId, new ItemVersionData());
    }
  
  }