@Test
  public void testPrimitiveArrays() {
    PrimitiveArrays object0 = PrimitiveArrays.create(new boolean[0], new int[0]);
    boolean[] booleans = {false, true, true, false};
    int[] ints = {6, 28, 496, 8128, 33550336};
    PrimitiveArrays object1 = PrimitiveArrays.create(booleans.clone(), ints.clone());
    PrimitiveArrays object2 = PrimitiveArrays.create(booleans.clone(), ints.clone());
    new EqualsTester().addEqualityGroup(object1, object2).addEqualityGroup(object0).testEquals();
    // EqualsTester also exercises hashCode(). We clone the arrays above to ensure that using the
    // default Object.hashCode() will fail.

    String expectedString =
        "PrimitiveArrays{booleans="
            + Arrays.toString(booleans)
            + ", "
            + "ints="
            + Arrays.toString(ints)
            + "}";
    assertThat(object1.toString()).isEqualTo(expectedString);

    assertThat(object1.ints()).isSameInstanceAs(object1.ints());
  }
Returns a set containing this test's {@link Nullable @Nullable} annotation, plus possibly
another {@code @Nullable} that is present on the parameter of {@link Object#equals}.
value/src/it/functional/src/test/java/com/google/auto/value/AutoValueJava8Test.java