Exemplo n.º 1
0
        public async Task TestDeleteAsync()
        {
            var missionService = new MissionService();
            var missions       = (await missionService.ListAsync()).ToList();
            var secondMission  = missions[25];
            await missionService.DeleteAsync(secondMission);

            var newMissions = (await missionService.ListAsync()).ToList();

            Assert.AreEqual(25, newMissions.Count);
        }