@Test
public void shouldMaskStringsWithAsterisks() {

    String maskValue = "*****";
    converter = new MaskStrings(maskValue).create(column);
    assertThat(converter.convert("1234567890").toString()).isEqualTo(maskValue);
    assertThat(converter.convert("123456").toString()).isEqualTo(maskValue);
    assertThat(converter.convert("12345").toString()).isEqualTo(maskValue);
    assertThat(converter.convert("1234").toString()).isEqualTo(maskValue);
    assertThat(converter.convert("123").toString()).isEqualTo(maskValue);
    assertThat(converter.convert("12").toString()).isEqualTo(maskValue);
    assertThat(converter.convert("1").toString()).isEqualTo(maskValue);
    assertThat(converter.convert(null).toString()).isEqualTo(maskValue);
}