@Test
public void testConvertFloat() {

    // GIVEN
    final DefaultAttribute<Float> attribute = new DefaultAttribute<>(10.0f, AttributeType.FLOAT);
    // WHEN
    final Object value = AttributeTypeConverter.convert(attribute);
    // THEN
    assertThat(value, instanceOf(Double.class));
    assertThat(value, equalTo(10.0));
}