void () { configureFile("<caret>"); configureRepository(new LocalTaskImpl("TEST-002", "Test task 2"), new LocalTaskImpl("TEST-003", "Test task 1"), new LocalTaskImpl("TEST-001", "Test task 1"), new LocalTaskImpl("TEST-004", "Test task 1") ); getManager().updateIssues(null); List<Task> issues = getManager().getCachedIssues(); // assertEquals("TEST-002", issues.get(0).getSummary()); myFixture.complete(CompletionType.BASIC); assertEquals(Arrays.asList("TEST-002", "TEST-003", "TEST-001", "TEST-004"), myFixture.getLookupElementStrings()); }