@Test
public void testConvertInteger() {

    // GIVEN
    final DefaultAttribute<Integer> attribute = new DefaultAttribute<>(10, AttributeType.INT);
    // WHEN
    final Object value = AttributeTypeConverter.convert(attribute);
    // THEN
    assertThat(value, instanceOf(Long.class));
    assertThat(value, equalTo(10l));
}