public ChatChannelServerServiceFixture WithMockRepository(out Mock <IChatChannelServerRepository> mock) { mock = new Mock <IChatChannelServerRepository>(); repository = mock.Object; return(this); }
public ChatChannelServerService(IChatChannelServerRepository chatChannelServerRepository, IServerService serverService) { this.chatChannelServerRepository = chatChannelServerRepository; this.serverService = serverService; }