public void Setup()
		{
			injector = new RobotlegsInjector();
			instance = new ViewProcessorMap(new ViewProcessorFactory(injector));

			mediatorWatcher = new MediatorWatcher();
			injector.Map(typeof(MediatorWatcher)).ToValue(mediatorWatcher);
			matchingView = new SupportView();
		}
Пример #2
0
        public void Setup()
        {
            injector = new RobotlegsInjector();
            instance = new ViewProcessorMap(new ViewProcessorFactory(injector));

            mediatorWatcher = new MediatorWatcher();
            injector.Map(typeof(MediatorWatcher)).ToValue(mediatorWatcher);
            matchingView = new SupportView();
        }
 public void Setup()
 {
     injector = new RobotlegsInjector();
     injector.Map(typeof(RobotlegsInjector)).ToValue(injector);
     viewProcessorMap   = new ViewProcessorMap(new ViewProcessorFactory(injector));
     trackingProcessor  = new TrackingProcessor();
     trackingProcessor2 = new TrackingProcessor();
     matchingView       = new SupportView();
     nonMatchingView    = new ObjectB();
     guardObject        = new GuardObject();
     matchingView2      = new SupportViewWithWidthAndHeight();
 }
		public void Setup()
		{
			injector = new RobotlegsInjector();
			injector.Map(typeof(RobotlegsInjector)).ToValue(injector);
			viewProcessorMap = new ViewProcessorMap(new ViewProcessorFactory(injector));
			trackingProcessor = new TrackingProcessor();
			trackingProcessor2 = new TrackingProcessor();
			matchingView = new SupportView();
			nonMatchingView = new ObjectB();
			guardObject = new GuardObject();
			matchingView2 = new SupportViewWithWidthAndHeight();
		}
		public void TearDown()
		{
			instance = null;
			injector = null;
			mediatorWatcher = null;
		}
Пример #6
0
 public void TearDown()
 {
     instance        = null;
     injector        = null;
     mediatorWatcher = null;
 }