예제 #1
0
        public GateController NewDut()
        {
            _selector      = SelectorBuilder.Build();
            _pwmController = MockPwmController;
            _gateStates    = GateStatesBuilder.Build();

            return(new GateController(_selector, _pwmController, _gateStates.Object));
        }
예제 #2
0
 public GateControllerFixture()
 {
     SelectorBuilder   = new MockSelectorBuilder();
     MockPwmController = new MockPwnController();
     GateStatesBuilder = new MockGateStatesBuilder();
 }