### Question:
ReflectionUtils { public static boolean isPrimitiveArray(Class<?> type) { logger.entering(type); checkArgument(type != null, "Type cannot be null."); logger.exiting(PRIMITIVE_ARRAY_TYPES.contains(type)); return PRIMITIVE_ARRAY_TYPES.contains(type); } private  ReflectionUtils(); static boolean hasOneArgStringConstructor(Class<?> type); static boolean hasDefaultConstructor(Class<?> type); static Object instantiateDefaultCustomTypeArray(DefaultCustomType type, String[] values); static Object instantiatePrimitiveArray(Class<?> type, String[] values); static Object instantiatePrimitiveObject(Class<?> type, Object objectToInvokeUpon, String valueToAssign); static Object instantiateWrapperArray(Class<?> type, String[] values); static Object instantiateWrapperObject(Class<?> type, Object objectToInvokeUpon, String valueToAssign); static boolean isPrimitiveArray(Class<?> type); static boolean isWrapperArray(Class<?> type);  }### Answer:
@Test(groups = "unit") public void testIsPrimitiveArrayPositive() { assertTrue(ReflectionUtils.isPrimitiveArray(int[].class)); }
@Test(groups = "unit") public void testIsPrimitiveArrayNegative() { assertFalse(ReflectionUtils.isPrimitiveArray(Integer[].class)); }
@Test(groups = "unit", expectedExceptions = { IllegalArgumentException.class }) public void testIsPrimitiveArrayErrorCondition() { ReflectionUtils.isPrimitiveArray(null); }