<CONTEXT>import static org.junit.Assert.*;import static org.hamcrest.CoreMatchers.*;</BUG>public class CollectorsTest {@Testpublic void testToCollection() {<extra_id_0>public class CollectorsTest {@Testpublic void testToCollection() {<BUG>Collection<Integer> result = Stream.range(0, 10)</BUG>.collect(Collectors.toCollection(new Supplier<Collection<Integer>>() {@Overridepublic Collection<Integer> get() {</CONTEXT>
import org.junit.Test;Collection<Integer> result = Stream.range(0, 5)