예제 #1
0
        public async Task TestScanningComponentCard()
        {
            var component = new ComponentScanning();

            await TestComponentCard(component);

            //For coverage
            component.SetDefaults();
        }
예제 #2
0
        public async Task TestDoneScanCard()
        {
            var done      = new DoneScanSuccess();
            var component = new ComponentScanning()
            {
                Done = done
            };

            await TestComponentCard(component);

            //For coverage
            component.SetDefaults();
            done.SetDefaults();
            Assert.NotNull(done.ToJson());
            Assert.NotNull(done.ToString());
        }