@Test public void test() throws Exception { SyntaticStrean st = util.newInputSyntactic("int a, b;"); AnaliseDeclaracao.isDeclaracao(st, pc); assertNotNull(pc.erro); }
@Before public void initialize() { util = SyntacticAnalyzerTestUtil.getInstance(); pc = new PlaceCod(); }