/** * Verifies that for the given {@code Coder<T>}, and values of type {@code T}, if the values are * equal then the encoded bytes are equal, in any {@code Coder.Context}. */ public static <T> void coderDeterministic(Coder<T> coder, T value1, T value2) throws Exception { for (Coder.Context context : ALL_CONTEXTS) { coderDeterministicInContext(coder, context, value1, value2); } }