using System.Collections.Generic; namespace XWorld.Server.Gateway.Tests { internal sealed class FakeConnection : IClientConnection { public int PlayerId { get; } public List Sent { get; } = new List(); public FakeConnection(int playerId) { PlayerId = playerId; } public void Send(byte[] frame) => Sent.Add(frame); } }