assertThat(tokens, hasToken("new", CxxKeyword.NEW));
}
@Test
public void includes_are_working() {
SourceCodeProvider scp = mock(SourceCodeProvider.class);
when(scp.getSourceCodeFile(anyString(), anyString(), eq(false))).thenReturn(new File(""));
when(scp.getSourceCode(any(File.class))).thenReturn("#define A B\n");
SquidAstVisitorContext<Grammar> ctx = mock(SquidAstVisitorContext.class);
when(ctx.getFile()).thenReturn(new File("/home/joe/file.cc"));
CxxPreprocessor pp = new CxxPreprocessor(ctx, new CxxConfiguration(), scp);