Exemplo n.º 1
0
        public void GetAll_FromSeeded_DoesNotThrowAndEqualsSeeded()
        {
            //Arrange
            var listModel = RecipeMapper.MapToListModel(CookBookSeedingDbContext.RecipeEntity);

            //Act
            var returnedModel = RepositorySUT.GetAll();

            //Assert
            Assert.Equal(new [] { listModel }, returnedModel, RecipeListModel.NameDurationFoodTypeComparer);
        }