@Test
public void testInitializeTemporaryResourceHolderShouldInitializeResources() {

    //GIVEN
    List<ConditionChecker> conditionCheckers = new ArrayList<>();
    List<ResponseFormatter> responseFormatters = new ArrayList<>();
    List<RequestInterceptor> requestInterceptors = new ArrayList<>();
    List<ResponseInterceptor> responseInterceptors = new ArrayList<>();
    List<SequenceHandler> sequenceHandlers = new ArrayList<>();
    given(internalResourceHolder.getConditionCheckers()).willReturn(conditionCheckers);
    given(internalResourceHolder.getResponseFormatters()).willReturn(responseFormatters);
    given(internalResourceHolder.getRequestInterceptors()).willReturn(requestInterceptors);
    given(internalResourceHolder.getResponseInterceptors()).willReturn(responseInterceptors);
    given(internalResourceHolder.getSequenceHandlers()).willReturn(sequenceHandlers);
    //WHEN
    underTest.initializeTemporaryResourceHolder();
    //THEN
    verify(temporaryStubResourceHolder).setConditionCheckers(conditionCheckers);
    verify(temporaryStubResourceHolder).setResponseFormatters(responseFormatters);
    verify(temporaryStubResourceHolder).setRequestInterceptors(requestInterceptors);
    verify(temporaryStubResourceHolder).setResponseInterceptors(responseInterceptors);
    verify(temporaryStubResourceHolder).setSequenceHandlers(sequenceHandlers);
}