use of com.endava.cats.report.TestCaseListener in project cats by Endava.
the class ZalgoTextInStringFieldsSanitizeValidateFuzzerTest method setup.
@BeforeEach
void setup() {
ServiceCaller serviceCaller = Mockito.mock(ServiceCaller.class);
TestCaseListener testCaseListener = Mockito.mock(TestCaseListener.class);
FilesArguments filesArguments = Mockito.mock(FilesArguments.class);
zalgoTextInStringFieldsSanitizeValidateFuzzer = new ZalgoTextInStringFieldsSanitizeValidateFuzzer(serviceCaller, testCaseListener, catsUtil, filesArguments);
Mockito.when(testCaseListener.isFieldNotADiscriminator(Mockito.anyString())).thenReturn(true);
Mockito.when(testCaseListener.isFieldNotADiscriminator("pet#type")).thenReturn(false);
}
Aggregations