use of org.faktorips.values.Decimal in project linkki by linkki-framework.
the class FormattedDecimalFieldToStringConverterTest method testConvertToModel.
@ParameterizedTest
@MethodSource("data")
public void testConvertToModel(Decimal decimalValue, String stringValue) {
ValueContext context = new ValueContext(Locale.GERMAN);
assertThat(converter.convertToModel(stringValue, context).getOrThrow(s -> new AssertionError(s)), is(decimalValue));
}
Aggregations