MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / TestGetInboundMessageNotFound

Function TestGetInboundMessageNotFound

internal/identity/store_test.go:518–526  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

516}
517
518func TestGetInboundMessageNotFound(t *testing.T) {
519 pool := testutil.TestDB(t)
520 store := identity.NewStore(pool)
521
522 _, err := store.GetInboundMessage(context.Background(), "msg_nonexistent")
523 if err == nil {
524 t.Error("expected error for non-existent inbound message")
525 }
526}
527
528func TestGetInboundMessageExpired(t *testing.T) {
529 pool := testutil.TestDB(t)

Callers

nothing calls this directly

Calls 4

GetInboundMessageMethod · 0.95
TestDBFunction · 0.92
NewStoreFunction · 0.92
ErrorMethod · 0.45

Tested by

no test coverage detected