@Test
public void testInitializeTemporaryResourceHolderWhenNoInterceptorsShouldNotInitializeResources() {

    //GIVEN
    List<ConditionChecker> conditionCheckers = new ArrayList<>();
    List<ResponseFormatter> templateFormatters = new ArrayList<>();
    List<SequenceHandler> sequenceHandlers = new ArrayList<>();
    given(internalResourceHolder.getConditionCheckers()).willReturn(conditionCheckers);
    given(internalResourceHolder.getResponseFormatters()).willReturn(templateFormatters);
    given(internalResourceHolder.getRequestInterceptors()).willReturn(null);
    given(internalResourceHolder.getResponseInterceptors()).willReturn(null);
    given(internalResourceHolder.getSequenceHandlers()).willReturn(sequenceHandlers);
    //WHEN
    underTest.initializeTemporaryResourceHolder();
    //THEN
    verify(temporaryStubResourceHolder).setConditionCheckers(conditionCheckers);
    verify(temporaryStubResourceHolder).setResponseFormatters(templateFormatters);
    verify(temporaryStubResourceHolder, BDDMockito.never()).setRequestInterceptors(null);
    verify(temporaryStubResourceHolder, BDDMockito.never()).setResponseInterceptors(null);
    verify(temporaryStubResourceHolder).setSequenceHandlers(sequenceHandlers);
}