### Question:
DataTypeFloat extends FloatingPointBase implements IDataTypeComponent { public IWhereClausePart getWhereClauseValue(Object value, ISQLDatabaseMetaData md) { if (value == null || value.toString() == null || value.toString().length() == 0) { return new IsNullWhereClausePart(_colDef); } else { return new EmptyWhereClausePart(); } } DataTypeFloat(JTable table, ColumnDisplayDefinition colDef); String getClassName(); String renderObject(Object value); boolean isEditableInCell(Object originalValue); boolean needToReRead(Object originalValue); JTextField getJTextField(); Object validateAndConvert(String value, Object originalValue, StringBuffer messageBuffer); boolean useBinaryEditingPanel(); boolean isEditableInPopup(Object originalValue); JTextArea getJTextArea(Object value); Object validateAndConvertInPopup(String value, Object originalValue, StringBuffer messageBuffer); Object readResultSet(ResultSet rs, int index, boolean limitDataRead); IWhereClausePart getWhereClauseValue(Object value, ISQLDatabaseMetaData md); void setPreparedStatementValue(PreparedStatement pstmt, Object value, int position); Object getDefaultValue(String dbDefaultValue); boolean canDoFileIO(); String importObject(FileInputStream inStream); void exportObject(FileOutputStream outStream, String text);  }### Answer:
@Override @Test public void testGetWhereClauseValue() { ColumnDisplayDefinition localMockColumnDisplayDefinition = getMockColumnDisplayDefinition(); mockHelper.replayAll(); classUnderTest.setColumnDisplayDefinition(localMockColumnDisplayDefinition); IWhereClausePart whereClauseValue = classUnderTest.getWhereClauseValue(null, mockMetaData); assertNotNull(whereClauseValue); assertEquals(IsNullWhereClausePart.class, whereClauseValue.getClass()); whereClauseValue = classUnderTest.getWhereClauseValue(getWhereClauseValueObject(), mockMetaData); assertNotNull(whereClauseValue); assertEquals(EmptyWhereClausePart.class, whereClauseValue.getClass()); mockHelper.verifyAll(); }