protected bool Equals(MessageProcessed other) { return(string.Equals(Description, other.Description) && Equals(Message, other.Message) && Equals(ReceivedAt, other.ReceivedAt)); }
public static void ShouldMatch <THandler>(this MessageProcessed processed, Message message) { processed.Description.ShouldEqual(typeof(THandler).Name); processed.Message.ShouldEqual(message); }