public void LoadFromFile()
 {
     var definition = new TemplateOveridingDefinitionTile(
         "def",
         new FileTemplate("a.htm"),
         tile,
         new List<TileAttribute>()
         );
     Assert.That(definition.Name, Is.EqualTo("def"));
     Assert.That(definition.Render(model), Is.Not.Empty);
     Assert.That(definition.Render(model), Is.Not.EqualTo(tile.Render(model)));
 }
 public void RenderOfADefinitionWithOutAnyAttributesShouldRenderTheSameAsTheUnderlyingFileTile()
 {
     var definition = new TemplateOveridingDefinitionTile(
         "def",
         new FileTemplate("a.htm"),
         tile,
         new List<TileAttribute>()
         );
     Assert.That(definition.Name, Is.EqualTo("def"));
     Assert.That(definition.Render(model), Is.Not.Empty);
     Assert.That(definition.Render(model), Is.Not.EqualTo(tile.Render(model)));
 }