`pausedByInjector` is not a query, it may call `connect`.

The test should check that the connect was not called when the invocation text does not match the pause mark.