// Path: src/main/java/org/sonar/plugins/stash/StashPlugin.java
// public enum IssueType {
//   CONTEXT,
//   REMOVED,
//   ADDED,
// }


import com.google.common.collect.Range;
import java.util.List;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.sonar.plugins.stash.StashPlugin.IssueType;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;

package org.sonar.plugins.stash.issue;



public class StashDiffReportTest {

  StashDiff diff1;
  StashDiff diff2;
  StashDiff diff3;
  StashDiff diff4;
  StashDiff diff5;
  StashDiff diff6;

  StashDiffReport report1 = new StashDiffReport();
  StashDiffReport report2 = new StashDiffReport();

  private static final String FILE_PATH = "path/to/diff";

  @BeforeEach
  public void setUp() {
    StashComment comment1 = mock(StashComment.class);
    when(comment1.getId()).thenReturn((long)12345);

    StashComment comment2 = mock(StashComment.class);
    when(comment2.getId()).thenReturn((long)54321);


// Path: src/main/java/org/sonar/plugins/stash/StashPlugin.java
// public enum IssueType {
//   CONTEXT,
//   REMOVED,
//   ADDED,
// }


// Path: src/test/java/org/sonar/plugins/stash/issue/StashDiffReportTest.java
import com.google.common.collect.Range;
import java.util.List;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.sonar.plugins.stash.StashPlugin.IssueType;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;

package org.sonar.plugins.stash.issue;



public class StashDiffReportTest {

  StashDiff diff1;
  StashDiff diff2;
  StashDiff diff3;
  StashDiff diff4;
  StashDiff diff5;
  StashDiff diff6;

  StashDiffReport report1 = new StashDiffReport();
  StashDiffReport report2 = new StashDiffReport();

  private static final String FILE_PATH = "path/to/diff";

  @BeforeEach
  public void setUp() {
    StashComment comment1 = mock(StashComment.class);
    when(comment1.getId()).thenReturn((long)12345);

    StashComment comment2 = mock(StashComment.class);
    when(comment2.getId()).thenReturn((long)54321);


    diff1 = new StashDiff(IssueType.CONTEXT, "path/to/diff1", (long)10, (long)20);
