### Question:
Approvals { public static void verify(int[] ints, Path path) { Approval.of(int[].class) .withReporter(reporter) .build() .verify(ints, path); } private  Approvals(); static void verify(int[] ints, Path path); static void verify(byte[] bytes, Path path); static void verify(short[] shorts, Path path); static void verify(long[] longs, Path path); static void verify(float[] floats, Path path); static void verify(double[] doubles, Path path); static void verify(boolean[] booleans, Path path); static void verify(char[] chars, Path path); static void verify(String[] strings, Path path); static void verify(byte value, Path path); static void verify(short value, Path path); static void verify(int value, Path path); static void verify(long value, Path path); static void verify(float value, Path path); static void verify(double value, Path path); static void verify(boolean value, Path path); static void verify(char value, Path path); static void verify(String value, Path path); static void setReporter(Reporter reporterToUse);  }### Answer:
@Test public void shouldVerifyArrayTypesProperly() throws Exception { Approvals.verify(new byte[] {1, 3, 3}, get("shouldVerifyArrayTypesProperlyBytes.txt")); Approvals.verify(new short[] {1, 3, 3}, get("shouldVerifyArrayTypesProperlyShorts.txt")); Approvals.verify(new int[] {1, 3, 3}, get("shouldVerifyArrayTypesProperlyInts.txt")); Approvals.verify(new long[] {1L, 3L, 3L}, get("shouldVerifyArrayTypesProperlyLongs.txt")); Approvals.verify(new float[] {1.0F, 2.0F, 3.0F}, get("shouldVerifyArrayTypesProperlyFloats.txt")); Approvals.verify(new double[] {1.0D, 2.0D, 3.0D}, get("shouldVerifyArrayTypesProperlyDoubles.txt")); Approvals.verify(new boolean[] {true, false, true}, get("shouldVerifyArrayTypesProperlyBooleans.txt")); Approvals.verify(new char[] {'a', 'b', 'c'}, get("shouldVerifyArrayTypesProperlyChars.txt")); Approvals.verify(new String[] {"first", "second", "third"}, get("shouldVerifyArrayTypesProperlyStrings.txt")); }
@Test public void shouldVerifyAllPrimitiveTypes() throws Exception { Approvals.verify((byte)1, get("shouldVerifyAllPrimitiveTypesByte.txt")); Approvals.verify((short)1, get("shouldVerifyAllPrimitiveTypesShort.txt")); Approvals.verify(1, get("shouldVerifyAllPrimitiveTypesInt.txt")); Approvals.verify((long)1, get("shouldVerifyAllPrimitiveTypesLong.txt")); Approvals.verify(1.0F, get("shouldVerifyAllPrimitiveTypesFloat.txt")); Approvals.verify(1.0D, get("shouldVerifyAllPrimitiveTypesDouble.txt")); Approvals.verify(true, get("shouldVerifyAllPrimitiveTypesBoolean.txt")); Approvals.verify('a', get("shouldVerifyAllPrimitiveTypesChar.txt")); Approvals.verify("asd", get("shouldVerifyAllPrimitiveTypesString.txt")); }