def test_whenHandlingCurrentSequencerStateThenEverythingIsCalledAccordingly(self):
        testedDispatcher = BaseStationDispatcher(self.worldVision)
        testedDispatcher.sequencer = self.sequencer
        testedDispatcher.handleCurrentSequencerState()

        assert self.worldVision.getCurrentImage.called
        assert self.sequencer.handleCurrentState.called
    def test_whenStartingFromTargetThenSequencerStateIsChanged(self):
        testedDispatcher = BaseStationDispatcher(self.worldVision)
        testedDispatcher.sequencer = self.sequencer
        testedDispatcher.startFromTarget()

        assert self.sequencer.setState.called