class StubResourceHolderUpdater {

    public void updateResourceHolder() {
        stubResourceHolder.setConditionChekers(new ArrayList<>(temporaryStubResourceHolder.getConditionCheckers()));
        stubResourceHolder.setResponseFormatters(new ArrayList<>(temporaryStubResourceHolder.getResponseFormatters()));
        stubResourceHolder.setTemplates(new HashMap<>(temporaryStubResourceHolder.getTemplates()));
        updateRequestInterceptors();
        updateResponseInterceptors();
        stubResourceHolder.setSequenceHandlers(new ArrayList<>(temporaryStubResourceHolder.getSequenceHandlers()));
    }

}