Details
Description
From Steve's comment:
it'd have been cleaner for the asserts to have been one in a assertCapability(key, StreamCapabilities subject, bool outcome) and had it throw meaningful exceptions on a failure
We can consider abstract such a method to a test util class and use it for all StreamCapabilities tests as needed.