package org.sonar.plugins.cpd.index;
import static org.hamcrest.Matchers.is;
<BUG>import static org.junit.Assert.assertThat;
import java.util.Collection;</BUG>
import java.util.Iterator;
<BUG>import org.junit.Before;
import org.junit.Test;
import org.sonar.duplications.block.Block;</BUG>
import org.sonar.duplications.block.ByteArray;

package org.sonar.plugins.cpd.index;
import static org.hamcrest.Matchers.is;
import static org.junit.Assert.assertThat;
import static org.mockito.Mockito.doReturn;
import static org.mockito.Mockito.spy;
import java.util.Arrays;
import java.util.Collection;
import java.util.Iterator;
import org.junit.Test;
import org.sonar.api.resources.JavaFile;
import org.sonar.api.resources.Resource;
import org.sonar.duplications.block.Block;
import org.sonar.duplications.block.ByteArray;
