@Test
void should_VerifyMethodInvocations_When_CreateWorkbasketHisoryEvent() throws Exception {

  WorkbasketHistoryEvent expectedEvent =
      AbstractAccTest.createWorkbasketHistoryEvent(
          "wbKey1", WorkbasketHistoryEventType.CREATED.getName(), "someUserId", "someDetails");
  cutSpy.create(expectedEvent);
  verify(taskanaHistoryEngineMock, times(1)).openConnection();
  verify(workbasketHistoryEventMapperMock, times(1)).insert(expectedEvent);
  verify(taskanaHistoryEngineMock, times(1)).returnConnection();
  assertThat(expectedEvent.getCreated()).isNotNull();
}