public void Init() { tlog.Info(tag, "Init() is called!"); HydrationContext context = new HydrationContext(); e1 = new ExpandMarkupsVisitor(context); }
public void ExpandMarkupsVisitorConstructor() { tlog.Debug(tag, $"ApplyPropertiesVisitorConstructor START"); HydrationContext context = new HydrationContext(); ExpandMarkupsVisitor expandMarkupsVisitor = new ExpandMarkupsVisitor(context); tlog.Debug(tag, $"ExpandMarkupsVisitorConstructor END (OK)"); Assert.Pass("ExpandMarkupsVisitorConstructor"); }
public void ExpandMarkupsVisitorConstructor() { tlog.Debug(tag, $"ApplyPropertiesVisitorConstructor START"); HydrationContext context = new HydrationContext(); Assert.IsNotNull(context, "null HydrationContext"); Assert.IsInstanceOf <HydrationContext>(context, "Should return HydrationContext instance."); ExpandMarkupsVisitor expandMarkupsVisitor = new ExpandMarkupsVisitor(context); Assert.IsNotNull(expandMarkupsVisitor, "null ExpandMarkupsVisitor"); Assert.IsInstanceOf <ExpandMarkupsVisitor>(expandMarkupsVisitor, "Should return ExpandMarkupsVisitor instance."); tlog.Debug(tag, $"ExpandMarkupsVisitorConstructor END"); }
public void Destroy() { e1 = null; tlog.Info(tag, "Destroy() is called!"); }
public void Init() { tlog.Info(tag, "Init() is called!"); visitor = new ExpandMarkupsVisitor(new HydrationContext()); }