public FrenchIngredientParserTests() { this._ingredients = new Ingredient[] { new Ingredient { IngredientId = 1, SubrecipeId = 0, Name = "carottes" }, new Ingredient { IngredientId = 2, SubrecipeId = 0, Name = "avocat" }, new Ingredient { IngredientId = 3, SubrecipeId = 0, Name = "boeuf" }, new Ingredient { IngredientId = 4, SubrecipeId = 0, Name = "nouille" } }; this._parser = new RicardoParser(null, null, null, x => null, x => null, x => null, x => new FrenchLanguageHelper(), x => null); this._parser.InitializeCulture("fr"); }
public FrenchTimerParserTest() { this._parser = new RicardoParser(null, null, null, x => null, x => new FrenchTimerDetector(), x => null, x => new FrenchLanguageHelper(), x => null); this._parser.InitializeCulture("fr"); }
public IngredientParserTests() { this._parser = new RicardoParser(null, null, null, x => null, x => null, x => new FrenchMeasureUnitDetector(), x => new FrenchLanguageHelper(), x => null); this._parser.InitializeCulture("fr"); }