@Test
public void testBlockReward() throws Exception {

    ByzantiumConfig byzantiumConfig = new ByzantiumConfig(new TestBlockchainConfig() {
        @Override
        public Constants getConstants() {
            return new ConstantsAdapter(super.getConstants()) {
                @Override
                public BigInteger getBLOCK_REWARD() {
                    // Make sure ByzantiumConfig is not using parent's block reward
                    return BigInteger.TEN;
                }
            };
        }
    });
    assertEquals(new BigInteger("3000000000000000000"), byzantiumConfig.getConstants().getBLOCK_REWARD());
}