public void Setup()
 {
     Foo._messages             = string.Empty;
     FooWithCategory._messages = string.Empty;
     XmlDocumentMock.Reset();
     RecipeFactory.Type = RecipeFactory.Default;
 }
Esempio n. 2
0
 public void SetUp()
 {
     XmlDocumentFactory.Type = typeof(XmlDocumentMock);
     XmlDocumentMock.Reset();
     XmlDocumentMock.RawContent = "<recipe />";
     RecipeFactory.Type         = typeof(RecipeMock);
 }
Esempio n. 3
0
 public void TearDown()
 {
     XmlDocumentFactory.Type = XmlDocumentFactory.Default;
     XmlDocumentMock.Reset();
     RecipeFactory.Type = RecipeFactory.Default;
     RecipeFactory.NewRecipe(string.Empty);
 }
Esempio n. 4
0
 public void SetUp()
 {
     XmlDocumentMock.Reset();
     RecipeFactory.Type = RecipeFactory.Default;
     LoaderFactory.Type = LoaderFactory.Default;
 }
Esempio n. 5
0
 public void TearDown()
 {
     XmlDocumentFactory.Type = XmlDocumentFactory.Default;
     LoaderFactory.Type      = LoaderFactory.Default;
     XmlDocumentMock.Reset();
 }