public void write_the_standard_class_wrapper() { // Arrange IORMFramework orm = new StandardORMFramework(_context); // Act orm.Generate(); StringBuilder expected = new StringBuilder(); expected.AppendLine("namespace BlogApp.DataObjects.EntityFramework.SQLServer"); expected.AppendLine("{"); expected.AppendLine("\tpublic class BlogBaseDao : ICRUDDao<BlogApp.BusinessObjects.Blog>"); expected.AppendLine("\t{"); expected.AppendLine("\t"); expected.AppendLine("\t}"); expected.AppendLine("}"); expected.AppendLine("namespace BlogApp.DataObjects.EntityFramework.SQLServer"); expected.AppendLine("{"); expected.AppendLine("\tpublic class SQLServerBlogDao : BlogBaseDao, IBlogDao"); expected.AppendLine("\t{"); expected.AppendLine("\t"); expected.AppendLine("\t}"); expected.AppendLine("}"); expected.AppendLine("namespace BlogApp.DataObjects.Interfaces"); expected.AppendLine("{"); expected.AppendLine("\tpublic interface IBlogDao : ICRUDDao<BlogApp.BusinessObjects.Blog>"); expected.AppendLine("\t{"); expected.AppendLine("\t"); expected.AppendLine("\t}"); expected.AppendLine("}"); Console.WriteLine(_output.text); // Assert Assert.AreEqual(expected.ToString(), _output.text); }