'Should request stop, then start.'

def test_requests_stop_then_start(self):

    instance = self.test_instance
    scaffold.mock('daemon.runner.DaemonRunner._start', tracker=self.mock_tracker)
    scaffold.mock('daemon.runner.DaemonRunner._stop', tracker=self.mock_tracker)
    expect_mock_output = '                                                Called    daemon.runner.DaemonRunner._stop()\n                                                Called    daemon.runner.DaemonRunner._start()\n                                                '
    instance.do_action()
    self.failUnlessMockCheckerMatch(expect_mock_output)
