@Test
  public void testNotProcessingInheritPropertiesForTableType() {
    String tableName = "Rules void hello2(int hour)";
    TableSyntaxNode resultTsn = findTable(tableName);
    if (resultTsn != null) {
      ITableProperties tableProperties = resultTsn.getTableProperties();
      assertNotNull(tableProperties);

      Map<String, Object> categoryProperties = tableProperties.getPropertiesAppliedForCategory();
      assertTrue(categoryProperties.size() == 5);
      // check that we have all properties from category level
      assertEquals(
          InheritanceLevel.CATEGORY.getDisplayName(), (String) categoryProperties.get("scope"));
      assertEquals("My Category", (String) categoryProperties.get("category"));
      assertEquals("newLob", (String) categoryProperties.get("lob"));
      assertEquals(
          UsRegionsEnum.SE.name(),
          ((UsRegionsEnum[]) categoryProperties.get("usregion"))[0].name());
      assertEquals(
          RegionsEnum.NCSA.name(), ((RegionsEnum[]) categoryProperties.get("region"))[0].name());

      Map<String, Object> allProperties = tableProperties.getAllProperties();
      assertEquals(
          "AllProperties size is 10, ignore property 'scope' and including default properties",
          8,
          allProperties.size());
      assertTrue(
          "There is no property 'scope' applied for this table, as it can`t be defined in such table type",
          !allProperties.containsKey("scope"));

    } else {
      fail();
    }
  }
  @Test
  public void testErrorParsing() {
    String tableName = "Rules void hello1(int hour)";
    TableSyntaxNode resultTsn = findTable(tableName);
    if (resultTsn != null) {
      ITableProperties tableProperties = resultTsn.getTableProperties();
      assertNotNull(tableProperties);

      assertEquals(5, tableProperties.getAllProperties().size());

    } else {
      fail();
    }
  }