public void updateAuthenticationStatus(AdSession adSession, AdAuthenticationStatus adStatus) {
        if (adStatus != null) {
            adSession.setAuthenticationStatus(adStatus.label);
            adSessionRepository.save(adSession);
        }
    }
@Test
    public void updateAuthenticationStatusTest() {
        AdSession adSession = adAuthenticationMapper.authenticationRequestToAdSession("callbackUrl", new AuthenticationRequest(), new ArrayList<>());

        adService.updateAuthenticationStatus(adSession, STATUS_INVALID);

        verify(adSessionRepositoryMock, times(1)).save(any(AdSession.class));
    }