public void GetStakingInfo_WithoutPosMinting_ReturnsEmptyStakingInfoModel()
        {
            this.stakingRpcController = new StakingRpcController(this.fullNode.Object, this.LoggerFactory.Object, this.walletManager.Object, null);

            GetStakingInfoModel result = this.stakingRpcController.GetStakingInfo(true);

            Assert.Equal(JsonConvert.SerializeObject(new GetStakingInfoModel()), JsonConvert.SerializeObject(result));
        }
        public MiningRpcControllerTest(MiningRPCControllerFixture fixture)
        {
            this.fixture               = fixture;
            this.powMining             = new Mock <IPowMining>();
            this.fullNode              = new Mock <IFullNode>();
            this.posMinting            = new Mock <IPosMinting>();
            this.walletManager         = new Mock <IWalletManager>();
            this.timeSyncBehaviorState = new Mock <ITimeSyncBehaviorState>();
            this.fullNode.Setup(f => f.NodeService <IWalletManager>(false))
            .Returns(this.walletManager.Object);

            this.miningRpcController  = new MiningRpcController(this.powMining.Object, this.fullNode.Object, this.LoggerFactory.Object, this.walletManager.Object);
            this.stakingRpcController = new StakingRpcController(this.fullNode.Object, this.LoggerFactory.Object, this.walletManager.Object, this.posMinting.Object);
        }