package rxbroadcast;

import nl.jqno.equalsverifier.EqualsVerifier;
import org.junit.Test;

@SuppressWarnings({"checkstyle:MagicNumber"})
public final class VectorTimestampTest {
    @Test
    public final void equalsContract() {
        EqualsVerifier.forClass(VectorTimestamp.class)
            .withCachedHashCode("hashCode", "computeHashCode", new VectorTimestamp(
                new Sender[]{new Sender(new byte[] {42}), new Sender(new byte[]{43})}, new long[]{1, 2}
            ))
            .verify();
    }
}

@@ -509,11 +509,194 @@
 );%0A    %7D
+%0A%0A    @Test(expected = IllegalArgumentException.class)%0A    public final void timestampMustHaveEqualLengthFields() %7B%0A        new VectorTimestamp(new Sender%5B0%5D, new long%5B%5D%7B3, 4%7D);%0A    %7D
 %0A%7D%0A

Add test case for VectorTimestamp ctor