<commit_before>package edu.ucar.unidata.rosetta.config;

import edu.ucar.unidata.rosetta.domain.wizard.WizardData;
import edu.ucar.unidata.rosetta.init.resources.ResourceLoader;
import edu.ucar.unidata.rosetta.repository.wizard.WizardDataDao;
import edu.ucar.unidata.rosetta.repository.wizard.JdbcWizardDataDao;
import edu.ucar.unidata.rosetta.service.ResourceManager;
import edu.ucar.unidata.rosetta.service.user.UserManager;
import edu.ucar.unidata.rosetta.service.wizard.*;
import org.mockito.Mockito;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Mock object dependencies used for controller tests (found via component scan in applicationContext-test.xml)
 */
@Configuration
public class TestContext {

    @Bean
    public WizardManager wizardManager() {
        return Mockito.mock(WizardManager.class);
    }

    @Bean
    public ResourceManager resourceManager() {
        return Mockito.mock(ResourceManager.class);
    }

    @Bean
    public DataManager dataManager() {
        return Mockito.mock(DataManager.class);
    }

    @Bean
    public FileManager fileParserManager() {
        return Mockito.mock(FileManager.class);
    }

    @Bean
    public MetadataManager metadataManager() {
        return Mockito.mock(MetadataManager.class);
    }

    @Bean
    public ResourceLoader resourceLoader() {
        return Mockito.mock(ResourceLoader.class);
    }
    @Bean
    public UploadedFileManager uploadedFileManager() {
        return Mockito.mock(UploadedFileManager.class);
    }

    @Bean
    public UserManager userManager() {
        return Mockito.mock(UserManager.class);
    }

}
<commit_msg>get test to compile<commit_after>package edu.ucar.unidata.rosetta.config;

import edu.ucar.unidata.rosetta.domain.wizard.WizardData;
import edu.ucar.unidata.rosetta.init.resources.ResourceLoader;
import edu.ucar.unidata.rosetta.repository.wizard.WizardDataDao;
import edu.ucar.unidata.rosetta.repository.wizard.JdbcWizardDataDao;
import edu.ucar.unidata.rosetta.service.ResourceManager;
import edu.ucar.unidata.rosetta.service.user.UserManager;
import edu.ucar.unidata.rosetta.service.wizard.*;
import org.mockito.Mockito;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Mock object dependencies used for controller tests (found via component scan in applicationContext-test.xml)
 */
@Configuration
public class TestContext {

    @Bean
    public WizardManager wizardManager() {
        return Mockito.mock(WizardManager.class);
    }

    @Bean
    public ResourceManager resourceManager() {
        return Mockito.mock(ResourceManager.class);
    }

    // todo: DataManager no longer exits - does this need replaced?
    //@Bean
    //public DataManager dataManager() {
    //    return Mockito.mock(DataManager.class);
    //}

    @Bean
    public FileManager fileParserManager() {
        return Mockito.mock(FileManager.class);
    }

    @Bean
    public MetadataManager metadataManager() {
        return Mockito.mock(MetadataManager.class);
    }

    @Bean
    public ResourceLoader resourceLoader() {
        return Mockito.mock(ResourceLoader.class);
    }
    @Bean
    public UploadedFileManager uploadedFileManager() {
        return Mockito.mock(UploadedFileManager.class);
    }

    @Bean
    public UserManager userManager() {
        return Mockito.mock(UserManager.class);
    }

}

{'fraction_non_alphanumeric': 0.09758203799654577, 'fraction_numerical': 0.0, 'mean_word_length': 3.695945945945946, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3632208', 'n_tokens_mistral': 1062, 'n_tokens_neox': 1044, 'n_words': 186}