Ejemplo n.º 1
0
        public async void GetCareerInfo_ShouldReturnAllItems()
        {
            var response = await _controller.GetCareerInfo();

            CareerInfo ci = response.GetEnumerator().Current;

            //CollectionAssert.AllItemsAreNotNull(response.Result, "Should have returned all Items, should not be null if there are CareerInfo items in the datastore.");
            //REMOTE: 58f21038-a7e4-46ec-b036-08d667882bcb
            //LOCAL: 21a61a6a-6554-4e7f-a974-08d663d5d19f
            Assert.True(ci.CareerInfoId.ToString().Equals("21a61a6a-6554-4e7f-a974-08d663d5d19f", StringComparison.InvariantCultureIgnoreCase), "Should have returned all Items, should not be null if there are CareerInfo items in the datastore.");
        }
Ejemplo n.º 2
0
        public void GetCareerInfo_ShouldReturnAllItems()
        {
            Task<IEnumerable<CareerInfo>> response = _controller.GetCareerInfo();

            Assert.IsNotNull(response.Result, "Should have returned all Items, should not be null if there are CareerInfo items in the datastore.");
        }