2 writes to ExceptionToThrow
Aspire.Confluent.Kafka.Tests (2)
OtelInstrumentationTests.cs (2)
279
new FakeKafkaConsumer<string, string> {
ExceptionToThrow
= new OperationCanceledException() },
324
new FakeKafkaConsumer<string, string> {
ExceptionToThrow
= exception },
6 references to ExceptionToThrow
Aspire.Confluent.Kafka.Tests (6)
TestServices\FakeKafkaConsumer.cs (6)
42
ExceptionToThrow
is not null ? throw
ExceptionToThrow
: ConsumeResult;
45
ExceptionToThrow
is not null ? throw
ExceptionToThrow
: ConsumeResult;
48
ExceptionToThrow
is not null ? throw
ExceptionToThrow
: ConsumeResult;