@Test
public void shouldParseGrammarWithOneRequiredTokenAndLengthAndScale() {

    pattern = parser.parse(TYPE, "NUMBER(L,S)");
    assertThat(pattern).isNotNull();
    type = pattern.match(text("NUMBER ( 3, 2)"));
    assertThat(type.arrayDimensions()).isNull();
    assertThat(type.length()).isEqualTo(3);
    assertThat(type.scale()).isEqualTo(2);
    assertThat(type.name()).isEqualTo("NUMBER");
    assertThat(type.expression()).isEqualTo("NUMBER(3,2)");
    assertThat(type.jdbcType()).isEqualTo(TYPE);
}