367368369370371372373374375
// verify(component1).disconnect(); ConnectedComponent component2 = mock(ConnectedComponent.class, "2ndComp"); _protocol.registerComponent(component2); _protocol.unregisterComponent(component2); waitingAnswer.release(); _protocol.disconnect(); } }