public GateController NewDut() { _selector = SelectorBuilder.Build(); _pwmController = MockPwmController; _gateStates = GateStatesBuilder.Build(); return(new GateController(_selector, _pwmController, _gateStates.Object)); }
public GateControllerFixture() { SelectorBuilder = new MockSelectorBuilder(); MockPwmController = new MockPwnController(); GateStatesBuilder = new MockGateStatesBuilder(); }