### Question:
DataTypeChecker { public static boolean isFeatureType(DataTypeInfo dataType) { boolean isFeature = ((dataType == null) ? false : dataType.getBasicVisualizationInfo() != null && dataType.getBasicVisualizationInfo().usesDataElements() || dataType.getMapVisualizationInfo() != null && dataType.getMapVisualizationInfo().usesMapDataElements()); return isFeature; } private  DataTypeChecker(); static boolean isFeatureType(DataTypeInfo dataType);  }### Answer:
@Test public void testIsFeatureDataType() { EasyMockSupport support = new EasyMockSupport(); List<DataTypeInfo> dataTypes = createDataTypes(support); support.replayAll(); int index = 1; for (DataTypeInfo dataType : dataTypes) { if (index % 3 == 0) { assertTrue(DataTypeChecker.isFeatureType(dataType)); } else { assertFalse(DataTypeChecker.isFeatureType(dataType)); } index++; } support.verifyAll(); }