public void TryRemove_ReturnsTrueIfRemoved() { _handlers.TryAdd(MessageMethod.Handshake, _handler); var wasRemoved = _handlers.TryRemove(MessageMethod.Handshake); Assert.True(wasRemoved); }