internal void CompareTo(SequenceId sequenceId1, object obj, int expected) { if (obj is SequenceId sequenceId2) { Math.Sign(sequenceId1.CompareTo(sequenceId2)).Should().Be(expected); } }
public int CompareTo(Message message) { return(SequenceId.CompareTo(message.SequenceId)); }