'Should emit a usage message and exit if unknown action.'

def test_emits_usage_message_if_unknown_action_arg(self):

    instance = self.test_instance
    progname = self.test_program_name
    argv = [self.test_program_path, 'bogus']
    expect_mock_output = ('                                                Called    daemon.runner.DaemonRunner._usage_exit(%(argv)r)\n                                                ' % vars())
    try:
        instance.parse_args(argv)
    except NotImplementedError:
        pass
    self.failUnlessMockCheckerMatch(expect_mock_output)
