@Test
public void shouldReturnValueConvertedByTypeHandlerWhenTypeDefined() {

    // when
    Parameter metadata = new SimpleParameter().withLevel(new SimpleLevel().withName("date").withType("date"));
    ParameterEntry entry = new SimpleParameterEntry("2012-02-12");
    // when
    MapEntry map = converter.asMap(metadata, entry);
    // then
    assertThat(map.getAs("date", Date.class)).isEqualTo("2012-02-12");
}