fix stream management for component + add test

This commit is contained in:
Martin/Geno
2019-08-08 17:46:02 +02:00
committed by Mickaël Rémond
parent d3b45b42a5
commit 6005a964ba
2 changed files with 8 additions and 1 deletions

View File

@@ -23,3 +23,10 @@ func TestHandshake(t *testing.T) {
func TestGenerateHandshake(t *testing.T) {
// TODO
}
// Test that NewStreamManager can accept a Component.
//
// This validates that Component conforms to StreamClient interface.
func TestStreamManager(t *testing.T) {
NewStreamManager(&Component{}, nil)
}