@Test
public void validateBooleanDataValueWhenValuesAreAcceptableFalse()
    throws WebMessageException
{

    // Given
    final DataElement aBooleanTypeDataElement = new DataElement();
    final String normalizedBooleanValue = "false";
    aBooleanTypeDataElement.setValueType( BOOLEAN );
    // Then
    String aBooleanDataValue = "false";
    aBooleanDataValue = dataValidator.validateAndNormalizeDataValue( aBooleanDataValue, aBooleanTypeDataElement );
    assertThat( aBooleanDataValue, is( normalizedBooleanValue ) );
    aBooleanDataValue = "0";
    aBooleanDataValue = dataValidator.validateAndNormalizeDataValue( aBooleanDataValue, aBooleanTypeDataElement );
    assertThat( aBooleanDataValue, is( normalizedBooleanValue ) );
    aBooleanDataValue = "f";
    aBooleanDataValue = dataValidator.validateAndNormalizeDataValue( aBooleanDataValue, aBooleanTypeDataElement );
    assertThat( aBooleanDataValue, is( normalizedBooleanValue ) );
    aBooleanDataValue = "False";
    aBooleanDataValue = dataValidator.validateAndNormalizeDataValue( aBooleanDataValue, aBooleanTypeDataElement );
    assertThat( aBooleanDataValue, is( normalizedBooleanValue ) );
    aBooleanDataValue = "FALSE";
    aBooleanDataValue = dataValidator.validateAndNormalizeDataValue( aBooleanDataValue, aBooleanTypeDataElement );
    assertThat( aBooleanDataValue, is( normalizedBooleanValue ) );
}