Пример #1
0
 public void Setup()
 {
     injector       = new RobotlegsInjector();
     viewInjector   = new ViewInjectionProcessor();
     injectionValue = MapSpriteForInjection();
     view           = new ViewWithInjection();
 }
Пример #2
0
        public void Mapping_Handed_Processor_Object_Sets_Processor_Property()
        {
            object processor             = new ViewInjectionProcessor();
            ViewProcessorMapping mapping = new ViewProcessorMapping(MATCHER, processor);

            Assert.That(mapping.Processor, Is.EqualTo(processor));
        }