As with all other code, your Combine pipeline code can, and should be, tested. The Given-When-Then pattern is a great way to layout your test code, ensuring that your code works as intended.
This is a companion discussion topic for the original entry at https://www.raywenderlich.com/22070915-integrate-combine-into-an-app/lessons/9