@Test
public void errorRoundsProperlyForOddGranularity() {

    impl = new DefaultHardwareClock(mockEnv) {
        public long getGranularity() { return 5L; }
    };
    expect(mockEnv.nanoTime()).andReturn(10L).anyTimes();
    replay(mockEnv);
    assertEquals(7L, impl.getNanoTime().size());
    verify(mockEnv);
}