use of org.sonarlint.intellij.issue.LiveIssue in project sonarlint-intellij by SonarSource.
the class LiveIssueCacheTest method should_not_fallback_persistence.
@Test
public void should_not_fallback_persistence() throws IOException {
VirtualFile file = createTestFile("file1");
LiveIssue issue1 = createTestIssue("r1");
cache.save(file, Collections.singleton(issue1));
VirtualFile cacheMiss = createTestFile("file2");
assertThat(cache.getLive(cacheMiss)).isNull();
verifyZeroInteractions(store);
}
Aggregations