@Test
public void shouldNotFindMatchingDataTypeIfInvalidOrIncomplete() {

    pattern = parser.parse(TYPE, "DECIMAL(3)");
    assertThat(pattern).isNotNull();
    type = pattern.match(text("DECIMAL(3"));
    assertThat(type).isNull();
}