6 instantiations of ExpectedException
Microsoft.Extensions.DataIngestion.Tests (6)
IngestionPipelineTests.cs (1)
194? Task.FromException<IngestionDocument>(new ExpectedException())
Processors\AlternativeTextEnricherTests.cs (1)
166GetResponseAsyncCallback = (messages, options, cancellationToken) => Task.FromException<ChatResponse>(new ExpectedException())
Processors\ClassificationEnricherTests.cs (1)
105GetResponseAsyncCallback = (messages, options, cancellationToken) => Task.FromException<ChatResponse>(new ExpectedException())
Processors\KeywordEnricherTests.cs (1)
105GetResponseAsyncCallback = (messages, options, cancellationToken) => Task.FromException<ChatResponse>(new ExpectedException())
Processors\SentimentEnricherTests.cs (1)
92GetResponseAsyncCallback = (messages, options, cancellationToken) => Task.FromException<ChatResponse>(new ExpectedException())
Processors\SummaryEnricherTests.cs (1)
89GetResponseAsyncCallback = (messages, options, cancellationToken) => Task.FromException<ChatResponse>(new ExpectedException())
7 references to ExpectedException
Microsoft.Extensions.DataIngestion.Tests (7)
IngestionPipelineTests.cs (2)
216Assert.IsType<ExpectedException>(ingestionResult.Exception); 259Assert.All(failed, a => Assert.Equal(ExpectedException.ExceptionMessage, a.StatusDescription));
Processors\AlternativeTextEnricherTests.cs (1)
180Assert.IsType<ExpectedException>(record.Exception);
Processors\ClassificationEnricherTests.cs (1)
117Assert.IsType<ExpectedException>(collector.LatestRecord.Exception);
Processors\KeywordEnricherTests.cs (1)
117Assert.IsType<ExpectedException>(collector.LatestRecord.Exception);
Processors\SentimentEnricherTests.cs (1)
104Assert.IsType<ExpectedException>(collector.LatestRecord.Exception);
Processors\SummaryEnricherTests.cs (1)
101Assert.IsType<ExpectedException>(collector.LatestRecord.Exception);