Create no-operation function factory.
Create SocketStub class.
Create EndpointStub class.
Make LobbyServerTopic use SocketStub instead of creating them manually.
Replace manual endpoint and socket stub creations with *Stub class instances.