### Question:
PrimitiveUtilities { public static String getClassNameForPrimitiveType(final String type) { if (BYTE.equals(type)) { return Byte.class.getName(); } if (SHORT.equals(type)) { return Short.class.getName(); } if (INT.equals(type)) { return Integer.class.getName(); } if (LONG.equals(type)) { return Long.class.getName(); } if (FLOAT.equals(type)) { return Float.class.getName(); } if (DOUBLE.equals(type)) { return Double.class.getName(); } if (CHAR.equals(type)) { return Character.class.getName(); } if (BOOLEAN.equals(type)) { return Boolean.class.getName(); } return null; }  static String getClassNameForPrimitiveType(final String type); static final String BYTE; static final String SHORT; static final String INT; static final String LONG; static final String FLOAT; static final String DOUBLE; static final String CHAR; static final String BOOLEAN; }### Answer:
@Test public void testGetClassNameForPrimitiveType() { assertThat(PrimitiveUtilities.getClassNameForPrimitiveType(PrimitiveUtilities.BYTE)).isEqualTo(Byte.class.getName()); assertThat(PrimitiveUtilities.getClassNameForPrimitiveType(PrimitiveUtilities.SHORT)).isEqualTo(Short.class.getName()); assertThat(PrimitiveUtilities.getClassNameForPrimitiveType(PrimitiveUtilities.INT)).isEqualTo(Integer.class.getName()); assertThat(PrimitiveUtilities.getClassNameForPrimitiveType(PrimitiveUtilities.LONG)).isEqualTo(Long.class.getName()); assertThat(PrimitiveUtilities.getClassNameForPrimitiveType(PrimitiveUtilities.FLOAT)).isEqualTo(Float.class.getName()); assertThat(PrimitiveUtilities.getClassNameForPrimitiveType(PrimitiveUtilities.DOUBLE)).isEqualTo(Double.class.getName()); assertThat(PrimitiveUtilities.getClassNameForPrimitiveType(PrimitiveUtilities.CHAR)).isEqualTo(Character.class.getName()); assertThat(PrimitiveUtilities.getClassNameForPrimitiveType(PrimitiveUtilities.BOOLEAN)).isEqualTo(Boolean.class.getName()); assertThat(PrimitiveUtilities.getClassNameForPrimitiveType("")).isNull(); assertThat(PrimitiveUtilities.getClassNameForPrimitiveType(null)).isNull(); assertThat(PrimitiveUtilities.getClassNameForPrimitiveType("Unknown")).isNull(); }