@Test
public void testResolvePrimitiveClassName() throws Exception {

    assertThat(ClassUtils.resolvePrimitiveClassName("boolean") == boolean.class, is(true));
    assertThat(ClassUtils.resolvePrimitiveClassName("byte") == byte.class, is(true));
    assertThat(ClassUtils.resolvePrimitiveClassName("char") == char.class, is(true));
    assertThat(ClassUtils.resolvePrimitiveClassName("double") == double.class, is(true));
    assertThat(ClassUtils.resolvePrimitiveClassName("float") == float.class, is(true));
    assertThat(ClassUtils.resolvePrimitiveClassName("int") == int.class, is(true));
    assertThat(ClassUtils.resolvePrimitiveClassName("long") == long.class, is(true));
    assertThat(ClassUtils.resolvePrimitiveClassName("short") == short.class, is(true));
    assertThat(ClassUtils.resolvePrimitiveClassName("[Z") == boolean[].class, is(true));
    assertThat(ClassUtils.resolvePrimitiveClassName("[B") == byte[].class, is(true));
    assertThat(ClassUtils.resolvePrimitiveClassName("[C") == char[].class, is(true));
    assertThat(ClassUtils.resolvePrimitiveClassName("[D") == double[].class, is(true));
    assertThat(ClassUtils.resolvePrimitiveClassName("[F") == float[].class, is(true));
    assertThat(ClassUtils.resolvePrimitiveClassName("[I") == int[].class, is(true));
    assertThat(ClassUtils.resolvePrimitiveClassName("[J") == long[].class, is(true));
    assertThat(ClassUtils.resolvePrimitiveClassName("[S") == short[].class, is(true));
}