Search in sources :

Example 1 with CmsCreator

use of org.hyperledger.besu.pki.cms.CmsCreator in project besu by hyperledger.

the class PkiQbftBlockCreatorTest method before.

@Before
public void before() {
    blockCreator = mock(BlockCreator.class);
    cmsCreator = mock(CmsCreator.class);
    pkiQbftBlockCreator = new PkiQbftBlockCreator(blockCreator, cmsCreator, extraDataCodec);
    blockHeaderBuilder = new BlockHeaderTestFixture();
}
Also used : BlockHeaderTestFixture(org.hyperledger.besu.ethereum.core.BlockHeaderTestFixture) BlockCreator(org.hyperledger.besu.ethereum.blockcreation.BlockCreator) CmsCreator(org.hyperledger.besu.pki.cms.CmsCreator) Before(org.junit.Before)

Aggregations

BlockCreator (org.hyperledger.besu.ethereum.blockcreation.BlockCreator)1 BlockHeaderTestFixture (org.hyperledger.besu.ethereum.core.BlockHeaderTestFixture)1 CmsCreator (org.hyperledger.besu.pki.cms.CmsCreator)1 Before (org.junit.Before)1