@Test
public void testRotate_N() throws Exception {

    Pseudorandom pseudorandom = mock(Pseudorandom.class);
    AbstractHashGenerator f = new AbstractHashGenerator(pseudorandom);
    f.rotate(0, 5); // note 0 doesn't rotate...
    verify(pseudorandom, times(5)).next(anyLong());
}