public void Setup() { _blockTree = Substitute.For <IBlockTree>(); _headStep = 10; _blockTree.Head.Returns(Build.A.BlockHeader.WithHash(Keccak.Compute("hash")).WithAura(_headStep, Bytes.Empty).TestObject); _auRaStepCalculator = Substitute.For <IAuRaStepCalculator>(); _auRaValidator = Substitute.For <IAuRaValidator>(); var wallet = new DevWallet(new WalletConfig(), NullLogManager.Instance); _address = wallet.NewAccount(new NetworkCredential(string.Empty, "AAA").SecurePassword); _auRaSealer = new AuRaSealer( _blockTree, _auRaValidator, _auRaStepCalculator, _address, wallet, NullLogManager.Instance); }