void SetupTest() { MockedDelayControllerPause = new Mock <ITimer>(); MockedToggeling = new Mock <ITimer>(); MockControlOn = new Mock <ITimer>(); MockControlLow = new Mock <ITimer>(); MockControlMiddle = new Mock <ITimer>(); MockControlHigh = new Mock <ITimer>(); MockSignal = new Mock <ITimer>(); MockPwm = new Mock <ITimer>(); MockPause = new Mock <ITimer>(); MockDelayedToggeling = new Mock <ITimer>(); MockedHeaterControlTimers = new Mock <ControlTimers>(); ControlTimers HeaterControlTimers = MockedHeaterControlTimers.Object; HeaterControlTimers.TimerOn = MockControlOn.Object; HeaterControlTimers.TimerLow = MockControlLow.Object; HeaterControlTimers.TimerMiddle = MockControlMiddle.Object; HeaterControlTimers.TimerHigh = MockControlHigh.Object; HeaterControlTimers.TimerSignal = MockSignal.Object; HeaterControlTimers.TimerPwm = MockPwm.Object; HeaterControlTimers.TimerPause = MockPause.Object; HeaterControlTimers.TimerToggelingDelay = MockDelayedToggeling.Object; TestController = new HeaterControllerPulseWidhtModulation(new HeaterParameters(), HeaterControlTimers); TestStatus = new HeaterStatus(); }
public void TestControllerIsInitialised() { HeaterControllerPulseWidhtModulation Test_Controller = new HeaterControllerPulseWidhtModulation(new HeaterParameters(), new InialisedTimers().Timers); }
void CleanUpTest() { MockedDelayControllerPause = null; TestController = null; TestStatus = null; }