### Question:
ImportParseParameters extends Observable implements Cloneable { public boolean hasCategory(final Category category) { return mySpecialColumns.stream().anyMatch(specialColumn -> specialColumn.getColumnType().getCategory() == category); } ImportParseParameters(); List<? extends String> getColumnNames(); Set<SpecialColumn> getSpecialColumns(); void setColumnNames(List<? extends String> columnNames); List<Integer> getColumnsToIgnore(); void setColumnsToIgnore(List<Integer> columnsToIgnore); boolean hasCategory(final Category category); boolean hasType(final ColumnType type); boolean hasType(final ColumnType... types); boolean isColumnIncluded(SpecialColumn specialColumn, final ColumnType... types); SpecialColumn getSpecialColumn(ColumnType columnType); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); @Override ImportParseParameters clone();  }### Answer:
@Test public void testHasCategory() { SpecialColumn specialColumn = new SpecialColumn(0, ColumnType.DATE, DATE_FORMAT); myTestObject.getSpecialColumns().add(specialColumn); assertTrue(myTestObject.hasCategory(Category.TEMPORAL)); assertFalse(myTestObject.hasCategory(Category.SPATIAL)); }