Пример #1
0
        public void GetAll_FromSeeded_DoesNotThrowAndEqualsSeeded()
        {
            //Arrange
            RecipeListModel listModel = RecipeMapper.MapEntityToListModel(RecipeSeeds.RecipeEntity);

            //Act
            IEnumerable <RecipeListModel> returnedModel = _repositorySUT.GetAll();

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