// except the last one.
assertTrue(refs.size() > 1);
int last = refs.size() - 1;
for (int i = 0; i < refs.size(); i++) {
Reference ref = refs.get(i);
assertEquals(i != last, ref.getNode().isFromExterns());
if (!ref.getNode().isFromExterns()) {
assertEquals("in1", ref.getNode().getSourceFileName());
}
}
}