public void NoFoulLanguageInDescription() { Mock<IFileReader> reader = new Mock<IFileReader>(); reader.Setup(read => read.ReadFoulLanguageFile()).Returns(new HashSet<string>() { "foul", "deoderant" }); InputFilter filter = new InputFilter(reader.Object); dinner = new Dinner(mockRepo.Object, filter); dinner.SetDescription("foul deoderant and a couple of eggs"); }
public void CreateFilterNoFileReader() { InputFilter filter = new InputFilter(null); }