@Test
public void testSampleIndex_SameSize() {

    // using fixed seed to get reproducible result
    IntSeries sample = Sampler.sampleIndex(5, 5, new Random(5));
    new IntSeriesAsserts(sample).expectData(3, 1, 4, 0, 2);
}