3 writes to ExceptionToThrow
Aspire.Confluent.Kafka.Tests (3)
OtelInstrumentationTests.cs (3)
25
var innerProducer = new FakeKafkaProducer<string, string> {
ExceptionToThrow
= new ArgumentException("serialization error") };
111
var innerProducer = new FakeKafkaProducer<string, string> {
ExceptionToThrow
= exception };
384
new FakeKafkaProducer<string, string> {
ExceptionToThrow
= exception },
4 references to ExceptionToThrow
Aspire.Confluent.Kafka.Tests (4)
TestServices\FakeKafkaProducer.cs (4)
26
Task.FromException<DeliveryResult<TKey, TValue>>(
ExceptionToThrow
);
29
Task.FromException<DeliveryResult<TKey, TValue>>(
ExceptionToThrow
);
32
throw
ExceptionToThrow
;
35
throw
ExceptionToThrow
;