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() { Context context = new Context(); injector = context.injector; mediatorMap = new MediatorMap(context); mediatorWatcher = new MediatorWatcher(); injector.Map(typeof(MediatorWatcher)).ToValue(mediatorWatcher); }
public void TearDown() { instance = null; injector = null; mediatorWatcher = null; }