@Test
public void testGetPublicRulesEmpty() throws Exception {

    final SrgsXmlDocument document = new SrgsXmlDocument();
    final Grammar grammar = document.getGrammar();
    final Collection<Rule> rules = grammar.getPublicRules();
    Assert.assertEquals(0, rules.size());
}