public async Task AEDPoSContract_FirstRound_Terminate_Test() { var transaction = (await AEDPoSContract_GenerateConsensusTransactions_FirstRound_ExtraBlockMiner_Test()).Transactions.First(); BlockTimeProvider.SetBlockTime(BlockchainStartTimestamp + new Duration { Seconds = AEDPoSContractTestConstants.MiningInterval.Mul(AEDPoSContractTestConstants.InitialMinersCount) .Div(1000) }); var nextRound = new Round(); nextRound.MergeFrom(transaction.Params); await AEDPoSContractStub.NextRound.SendAsync(nextRound); var currentRound = await AEDPoSContractStub.GetCurrentRoundInformation.CallAsync(new Empty()); currentRound.RoundNumber.ShouldBe(2); }