@Test
public void testRotate() throws Exception {

    Pseudorandom pseudorandom = mock(Pseudorandom.class);
    AbstractHashGenerator f = new AbstractHashGenerator(pseudorandom);
    f.rotate(5L);
    verify(pseudorandom, times(1)).next(5L);
}