Esempio n. 1
0
 public void SetUp()
 {
     _shimObject                 = ShimsContext.Create();
     _toolDropDownList           = new ToolDropDownList();
     _privateObject              = new PrivateObject(_toolDropDownList);
     stubToolbar                 = new StubToolbar();
     stubToolbar.ParentGet       = () => null;
     stubToolbar.ImagesDirectory = DummyText;
 }
Esempio n. 2
0
 private void SetUp()
 {
     _shimObject                 = ShimsContext.Create();
     _toolColorPicker            = new ToolColorPicker();
     _privateObject              = new PrivateObject(_toolColorPicker);
     stubToolbar                 = new StubToolbar();
     stubToolbar.ParentGet       = () => null;
     stubToolbar.ImagesDirectory = DummyString;
 }