Beispiel #1
0
        public async Task GetAllCoverPositionMethodReturnsExpectedDataTest()
        {
            var data = await _manager.GetAllCoverPosition();

            Assert.IsNotNull(data);

            /* 1. Retrieve data to test
             * 2. Assert that returned collection has data
             * 3. Assert that returned collection contains only "Cover" position and also had at least 50% page coverage
             */
        }
        public async Task <IActionResult> Task2()
        {
            var data = await _adsManager.GetAllCoverPosition();

            return(View(data));
        }