@Test
public void shouldCreateBigDecimalFromString() {

    // given
    String stringRepresentation = "123.45";
    // when
    BigDecimal bigDecimal = converter.getFromString(stringRepresentation);
    // then
    assertThat(bigDecimal.unscaledValue()).isEqualTo(BigInteger.valueOf(12345));
    assertThat(bigDecimal.scale()).isEqualTo(2);
}