The current tests for NATSListener._on_task_event are pure unit tests using mocked TaskClaimer. There is no integration test that wires up a real (or simulated) NATS message delivery and verifies that a message with a malformed subject is dropped end-to-end. An integration test in tests/integration/ would confirm the validation holds through the full dispatch chain.
Follow-up from #137
The current tests for
NATSListener._on_task_eventare pure unit tests using mockedTaskClaimer. There is no integration test that wires up a real (or simulated) NATS message delivery and verifies that a message with a malformed subject is dropped end-to-end. An integration test intests/integration/would confirm the validation holds through the full dispatch chain.Follow-up from #137