@Test
public void shouldCreateDecimalFromString() {

    assertThat(factory.create("1"), is(BigDecimal.valueOf(1)));
    assertThat(factory.create("-1.0"), is(BigDecimal.valueOf(-1.0d)));
    assertThat(factory.create("100.000101"), is(BigDecimal.valueOf(100.000101d)));
}