@Before
 public void before() {
   lockProcessInstanceWork = new LockProcessInstanceWork(wrappedWork, processInstanceId);
   when(wrappedWork.getTenantId()).thenReturn(TENANT_ID);
   tenantAccessor = mock(TenantServiceAccessor.class);
   lockService = mock(LockService.class);
   workService = mock(WorkService.class);
   when(tenantAccessor.getLockService()).thenReturn(lockService);
   when(tenantAccessor.getWorkService()).thenReturn(workService);
   when(tenantAccessor.getTechnicalLoggerService()).thenReturn(mock(TechnicalLoggerService.class));
 }
 @Test
 public void getTenantId() {
   when(wrappedWork.getTenantId()).thenReturn(12L);
   assertEquals(12, lockProcessInstanceWork.getTenantId());
 }