@Test
public void testParseNotNullConstraints() {

    String inputFile = Thread.currentThread().getContextClassLoader().getResource("test-schema.sql").getFile();
    Collection<NotNullDefinition> notNullDefinitions = SQLParser.parseNotNullConstraints(inputFile);
    Assert.assertEquals(
            new HashSet<>(Collections.singletonList(new NotNullDefinition("TABLE1", "PROFESSION"))),
            new HashSet<>(notNullDefinitions)
    );
}