question: public static void assertSupportedProtocols ( Set < String > expected , String [ ] protocols ) { Set < String > remainingProtocols = assertValidProtocols ( expected , protocols ) ; assertEquals ( "Missing protocols" , Collections . EMPTY_SET , remainingProtocols ) ; assertEquals ( expected . size ( ) , protocols . length ) ; }
target:  After using assertValidProtocols on protocols, assertSupportedProtocols additionally verifies that all supported protocols where in the input array.