public FakeConnectionsClient(ISymClient client) : base(client) { moqRestRequestHandler = new Mock <RestRequestHandler>(); moqHttpWebResponse = new Mock <HttpWebResponse>(); moqRestRequestHandler.Setup(x => x.executeRequest(It.IsAny <object>(), It.IsAny <string>(), It.IsAny <bool>(), It.IsAny <string>(), It.IsAny <SymConfig>(), It.IsAny <bool>())) .Returns(moqHttpWebResponse.Object); }
public DatafeedEventsService(ISymClient client) { this.botClient = client; roomListeners = new List <RoomListener>(); IMListeners = new List <IMListener>(); connectionListeners = new List <ConnectionListener>(); datafeedClient = new DatafeedClient(); datafeed = datafeedClient.createDatafeed(client.getConfig()); datafeedId = datafeed.datafeedID; }
public ConnectionsClient(ISymClient client) { botClient = client; }
public MessageClient(ISymClient client) { botClient = client; }
public UserClient(ISymClient client) { botClient = client; }
public PresenceClient(ISymClient client) { botClient = client; }
public SignalsClient(ISymClient client) { botClient = client; }
public StreamClient(ISymClient client) { botClient = client; }
public FakeConnectionsClientWithAllValues(ISymClient client) : base(client) { }
public FakeConnectionsClientWithMissingValues(ISymClient client) : base(client) { }