public void testEnumWithTrailingSemicolon() throws Exception
    {
        File f = getFile("enum_with_semicolon.proto");
        assertTrue(f.exists());

        Proto proto = new Proto(f);
        ProtoUtil.loadFrom(f, proto);
        assertEquals(proto.getPackageName(), "rpc");
    }
Various tests for the proto parser.

@author David Yu
@created Dec 18, 2009
protostuff-parser/src/test/java/io/protostuff/parser/ProtoParserTest.java