@Test
public void testHandleRequestWhenCheckRequestThrowValidationException() {

    //GIVEN
    Map<String, SequenceDescriptor> descriptors = new ConcurrentHashMap<>();
    descriptors.put("TestTeam-fistDescriptor-TestHandler", sequenceDescriptor);
    Whitebox.setInternalState(underTest, "descriptors", descriptors);
    Whitebox.setInternalState(underTest, "logger", logger);
    given(sequenceDescriptor.isActive()).willReturn(true);
    Mockito.doThrow(new SequenceHandlerKeyValidationException("Test message")).when(sequenceService).checkRequest(request, sequenceDescriptor);
    //WHEN
    underTest.handleRequest(request);
    //THEN
    verify(logger).error(Mockito.anyString());
}