@Test
public void testConvertLong() {

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