public class FileLinesVisitorTest {
@Test
public void test() {
FileLinesContextFactory fileLinesContextFactory = mock(FileLinesContextFactory.class);
FileLinesContext fileLinesContext = mock(FileLinesContext.class);
when(fileLinesContextFactory.createFor(any(Resource.class))).thenReturn(fileLinesContext);
ProjectFileSystem fs = mock(ProjectFileSystem.class);
when(fs.getSourceDirs()).thenReturn(ImmutableList.of(new File("src/test/resources/")));
Project project = new Project("key");