Can't find docs about libp2p testing

I want to be able to write tests for my app.

So far I haven’t been able to find much in the docs (did I such a bad job searching?).
At the very least I would like to test my handlers, which take a network.Stream as a parameter…I see there is a stream mock in the libs, but they seem to be private so not usable in my tests.

Any suggestions? Do I need to mock network.Stream again myself? Any other suggestions?