@Test
public void convert_version() throws Exception {

    PropertyDefinition propertyDefinition = new PropertyDefinition();
    propertyDefinition.setType(ToscaTypes.VERSION);
    Object value = converter.toPropertyValue("3.4-SNAPSHOT", propertyDefinition);
    assertThat(value).isInstanceOf(ScalarPropertyValue.class);
    assertThat(value).isEqualTo(new ScalarPropertyValue("3.4-SNAPSHOT"));
}