private void AssertContext(string virtualPath, TextWriter writer, int startPosition, int length, bool isLiteral, dynamic context)
 {
     PageExecutionContextAdapter ctx = new PageExecutionContextAdapter(context);
     Assert.Equal(virtualPath, ctx.VirtualPath);
     Assert.Same(writer, ctx.TextWriter);
     Assert.Equal(startPosition, ctx.StartPosition);
     Assert.Equal(length, ctx.Length);
     Assert.Equal(isLiteral, ctx.IsLiteral);
 }
 internal void BeginContext(PageExecutionContextAdapter context)
 {
     Adaptee.BeginContext(context.Adaptee);
 }
 internal void BeginContext(PageExecutionContextAdapter context)
 {
     Adaptee.BeginContext(context.Adaptee);
 }
 internal void EndContext(PageExecutionContextAdapter context)
 {
     Adaptee.EndContext(context.Adaptee);
 }
 internal void EndContext(PageExecutionContextAdapter context)
 {
     Adaptee.EndContext(context.Adaptee);
 }