verify(index).getBySequenceHash(new ByteArray("02"));
verifyNoMoreInteractions(index);
}
@Test
public void shouldReturnEmptyListWhenNoBlocksForFile() {
<BUG>List<CloneGroup> result = detect(null, new ArrayList<Block>());
</BUG>
assertThat(result, sameInstance(Collections.EMPTY_LIST));
}
@Test

verify(index).getBySequenceHash(new ByteArray("02"));
verifyNoMoreInteractions(index);
}
@Test
public void shouldReturnEmptyListWhenNoBlocksForFile() {
List<CloneGroup> result = detect(null, new Block[0]);
assertThat(result, sameInstance(Collections.EMPTY_LIST));
}
@Test
