public void GivenATwitterMessageListWithMessageWithTheTime(DateTime dateTime) { var pump = new TwitterMessagePumpStub(); pump.Add(new TwitterMessage { Time = dateTime }); Twitter.Messages.MessagePump = pump; }
public void GivenATwitterMessageListWithMessageWithTheText(string text) { var pump = new TwitterMessagePumpStub(); pump.Add(new TwitterMessage { Text = text }); Twitter.Messages.MessagePump = pump; }
public void GivenATwitterMessageListWithMessageWithTheName(string messageName) { var pump = new TwitterMessagePumpStub(); pump.Add(new TwitterMessage { Name = messageName }); Twitter.Messages.MessagePump = pump; }
public void GivenAListWithTwoTwitterMessagesWithTime(DateTime timeOne, DateTime timeTwo) { var pump = new TwitterMessagePumpStub(); pump.Add(new TwitterMessage { Time = timeOne }); pump.Add(new TwitterMessage { Time = timeTwo }); Twitter.Messages.MessagePump = pump; }
public void GivenAListWithTwoTwitterMessagesWithText(string textOne, string textTwo) { var pump = new TwitterMessagePumpStub(); pump.Add(new TwitterMessage { Text = textOne }); pump.Add(new TwitterMessage { Text = textTwo }); Twitter.Messages.MessagePump = pump; }
public void GivenAListWithTwoTwitterMessagesMessageOneAndMessageTwo(string messageOne, string messageTwo) { var pump = new TwitterMessagePumpStub(); pump.Add(new TwitterMessage { Name = messageOne }); pump.Add(new TwitterMessage { Name = messageTwo }); Twitter.Messages.MessagePump = pump; }
public void GivenACompleteTwitterMessage(string name, DateTime time, string text) { var pump = new TwitterMessagePumpStub(); pump.Add(new TwitterMessage { Name = name, Time = time, Text = text }); Twitter.Messages.MessagePump = pump; }