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);
lexer = CxxLexer.create(pp, new JoinStringsPreprocessor());
List<Token> tokens = lexer.lex("#include <file>\n"
+ "A");
assertThat(tokens).hasSize(2); // B + EOF