@Test void ofShouldNotThrowOnZero() { assertThatCode(() -> MessageSequenceNumber.of(0)).doesNotThrowAnyException(); }
public static MessageSequenceNumber of(int msn) { Preconditions.checkArgument(msn >= 0); return new MessageSequenceNumber(msn); }
MessageSequenceNumber { public static MessageSequenceNumber of(int msn) { Preconditions.checkArgument(msn >= 0); return new MessageSequenceNumber(msn); } }
MessageSequenceNumber { public static MessageSequenceNumber of(int msn) { Preconditions.checkArgument(msn >= 0); return new MessageSequenceNumber(msn); } private  MessageSequenceNumber(int msn); }
MessageSequenceNumber { public static MessageSequenceNumber of(int msn) { Preconditions.checkArgument(msn >= 0); return new MessageSequenceNumber(msn); } private  MessageSequenceNumber(int msn); static MessageSequenceNumber of(int msn); int asInt(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); }
MessageSequenceNumber { public static MessageSequenceNumber of(int msn) { Preconditions.checkArgument(msn >= 0); return new MessageSequenceNumber(msn); } private  MessageSequenceNumber(int msn); static MessageSequenceNumber of(int msn); int asInt(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }