public void FinalizeWebConfigTokenReplacements_Should_CallXmlDocumentWrapperCreateXmlDocFromString() { LoadWebConfigAsXmlDocument(); _writer.InitializeWebConfigForTokenReplacements(); _writer.FinalizeWebConfigTokenReplacements(); _xmlDocumentWrapperMock.Verify( x => x.CreateXmlDocFromString(It.IsAny <string>()), Times.Once); }