@Test
public void testConvertBoolean() {

    // GIVEN
    final DefaultAttribute<Boolean> attribute = new DefaultAttribute<>(true, AttributeType.BOOLEAN);
    // WHEN
    final Object value = AttributeTypeConverter.convert(attribute);
    // THEN
    assertThat(value, instanceOf(Boolean.class));
    assertThat(value, equalTo(Boolean.TRUE));
}