Brewage.Importers.Tests.BeerXML10.BeerXML10ImporterTests.FileToEntity_GivenBeerSmithFile_ParsesSuccessfully C# (CSharp) Method

FileToEntity_GivenBeerSmithFile_ParsesSuccessfully() private method

        public void FileToEntity_GivenBeerSmithFile_ParsesSuccessfully()
        {
            // Arrange

            FileStream fs = new FileStream(@"\brewsker\samplexml\recipes.xml", FileMode.Open);
            ITransform t = new XmlTransform(new DictionaryMapRepository());

            // Act
            var recipes = t.Transform<Contracts.RECIPES>(fs);

            // Assert
            Assert.IsTrue(recipes.Count > 0);
        }