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