Ejemplo n.º 1
0
        public async Task GetGenerateAsyncTest()
        {
            // Act - fetch boolean indicator toward coin generation on the local node
            // ! True => Coin (native currency) generation is occurring
            // ! False => Coin (native currency) generation is not occurring
            var getGenerate = await Generate.GetGeneratedAsync(Generate.CliOptions.ChainName);

            // Assert
            Assert.IsEmpty(getGenerate.Error);
            Assert.IsInstanceOf <bool>(getGenerate.Result);
            Assert.IsInstanceOf <CliResponse <bool> >(getGenerate);
            Assert.IsInstanceOf <CLIRequest>(getGenerate.Request);
        }