@Test
public void testDifficultyAdjustedForParentBlockHavingUncles() throws Exception {

    ByzantiumConfig byzantiumConfig = new ByzantiumConfig(new TestBlockchainConfig());
    BlockHeader parent = new BlockHeaderBuilder(new byte[]{11, 12}, 0L, 0)
            .withTimestamp(0L)
            .withUncles(new byte[]{1, 2})
            .build();
    BlockHeader current = new BlockHeaderBuilder(parent.getHash(), 1L, 0)
            .withTimestamp(9L)
            .build();
    assertEquals(1, byzantiumConfig.getCalcDifficultyMultiplier(current, parent).intValue());
}