public void Not_Optimized_Events_BeforeRender() { var tree = new MyOptimizedMediaTree("media"); BaseTree.BeforeTreeRender += EventHandler; Assert.IsFalse(tree.UseOptimizedRendering); }
public void Run_Optimized() { var tree = new MyOptimizedMediaTree("media"); Assert.IsTrue(tree.UseOptimizedRendering); }