Exemplo n.º 1
0
 public void CreateContentLoaderInstanceAndTestContent()
 {
     Assert.Throws<ContentLoader.ContentLoaderUseWasNotCalled>(
         () => ContentLoader.Load<MockXmlContent>(TestXmlContentName));
     ContentLoader.Use<MockContentLoader>();
     testXmlContent = ContentLoader.Load<MockXmlContent>(TestXmlContentName);
 }
 public ObjectWithContent(MockXmlContent xmlContent)
 {
     this.xmlContent = xmlContent;
 }