public void Init() { host = new MockDesignerLoaderHost(); host.Container.Add(new Button(), "button1"); nameCreationService = new PythonNameCreationService(host); }
public void NameCreationServiceCreated() { PythonNameCreationService service = mockDesignerLoaderHost.GetService(typeof(INameCreationService)) as PythonNameCreationService; Assert.IsNotNull(service); }