public void WhenClientConnectionIsClosed_ClientShouldBeRemoved() { var client = new FakeClient(); _sut.Add(client); client.CloseConnection(); _sut.GetAll().Should().NotContain(client); }
public void WhenClientConnectionIsClosed_ClientShouldBeRemoved() { var client = new FakeClient(); _sut.Add(client); client.CloseConnection(); _sut.GetAll().Should().NotContain(client); }