Exemplo n.º 1
0
 protected bool Equals(MessageProcessed other)
 {
     return(string.Equals(Description, other.Description) && Equals(Message, other.Message) && Equals(ReceivedAt, other.ReceivedAt));
 }
Exemplo n.º 2
0
 public static void ShouldMatch <THandler>(this MessageProcessed processed, Message message)
 {
     processed.Description.ShouldBe(typeof(THandler).Name);
     processed.Message.ShouldBe(message);
 }