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