Beispiel #1
0
        public void Get_Aviator_By_Id_When_Id_Is_Valid()
        {
            //Arrange
            Initialize();
            //Act
            var result = service.GetAll().FirstOrDefault();

            //Assert
            Assert.IsType <AviatorDTO>(result);
        }
        public async Task Get_Aviator_By_Id_When_Id_Is_Valid()
        {
            //Arrange
            Initialize();
            //Act
            var aviators = await service.GetAll();

            var result = aviators.FirstOrDefault();

            //Assert
            Assert.IsType <AviatorDTO>(result);
        }