public void Given() { var wdw = new WindowContents(); wdw.CreateVisualTree(); _scanner = new VisualScanner(wdw); }