### Question:
JsonSerializer { JsonSerializer() throws InstantiationException { throw new InstantiationException("JsonSerializer must not be instantiated directly."); } JsonSerializer(); static void writeJsonText(final Map<?, ?> map, final Appendable out); static String writeJsonTextAsString(final Map<?, ?> map); static void writeJsonText(final Collection<?> collection, final Appendable out); static String writeJsonTextAsString(final Collection<?> collection); static void writeJsonText(final byte[] array, final Appendable out); static String writeJsonTextAsString(final byte[] array); static void writeJsonText(final short[] array, final Appendable out); static String writeJsonTextAsString(final short[] array); static void writeJsonText(final int[] array, final Appendable out); static String writeJsonTextAsString(final int[] array); static void writeJsonText(final long[] array, final Appendable out); static String writeJsonTextAsString(final long[] array); static void writeJsonText(final float[] array, final Appendable out); static String writeJsonTextAsString(final float[] array); static void writeJsonText(final double[] array, final Appendable out); static String writeJsonTextAsString(final double[] array); static void writeJsonText(final boolean[] array, final Appendable out); static String writeJsonTextAsString(final boolean[] array); static void writeJsonText(final char[] array, final Appendable out); static String writeJsonTextAsString(final char[] array); static void writeJsonText(final Object[] array, final Appendable out); static String writeJsonTextAsString(final Object[] array);  }### Answer:
@Test void jsonSerializer() { assertThrows(InstantiationException.class, JsonSerializer::new); }