@Test
public void testParseDataTypes() {

    String inputFile = Thread.currentThread().getContextClassLoader().getResource("test-schema.sql").getFile();
    Collection<DataTypeDefinition> dataTypeDefinitions = SQLParser.parseDataTypes(inputFile);
    Assert.assertEquals(
            new HashSet<>(Arrays.asList(
                    new DataTypeDefinition("TABLE1", "NAME", "VARCHAR(255)"),
                    new DataTypeDefinition("TABLE1", "FIRST_NAME", "VARCHAR(255)"),
                    new DataTypeDefinition("TABLE1", "PROFESSION", "VARCHAR(50)"),
                    new DataTypeDefinition("TABLE2", "PROFESSION", "VARCHAR(255)"),
                    new DataTypeDefinition("TABLE2", "RECOGNITION", "VARCHAR(255)"),
                    new DataTypeDefinition("TABLE2", "COMMENTS", "TEXT")
            )),
            new HashSet<>(dataTypeDefinitions)
    );
}