Search in sources :

Example 1 with ProcessingArguments

use of com.endava.cats.args.ProcessingArguments in project cats by Endava.

the class FuzzingDataFactoryTest method setup.

@BeforeEach
void setup() {
    filesArguments = Mockito.mock(FilesArguments.class);
    processingArguments = Mockito.mock(ProcessingArguments.class);
    Mockito.when(processingArguments.isUseExamples()).thenReturn(true);
    Mockito.when(processingArguments.getContentType()).thenReturn("application/json");
    fuzzingDataFactory = new FuzzingDataFactory(filesArguments, processingArguments, catsGlobalContext);
}
Also used : ProcessingArguments(com.endava.cats.args.ProcessingArguments) FilesArguments(com.endava.cats.args.FilesArguments) FuzzingDataFactory(com.endava.cats.factory.FuzzingDataFactory) BeforeEach(org.junit.jupiter.api.BeforeEach)

Aggregations

FilesArguments (com.endava.cats.args.FilesArguments)1 ProcessingArguments (com.endava.cats.args.ProcessingArguments)1 FuzzingDataFactory (com.endava.cats.factory.FuzzingDataFactory)1 BeforeEach (org.junit.jupiter.api.BeforeEach)1