'L{Twist.options} given invalid arguments exits with
L{ExitStatus.EX_USAGE} and an error/usage message.'

def test_optionsInvalidArguments(self):

    self.patchExit()
    Twist.options(['twist', '--bogus-bagels'])
    self.assertIdentical(self.exit.status, ExitStatus.EX_USAGE)
    self.assertTrue(self.exit.message.startswith('Error:    '))
    self.assertTrue(self.exit.message.endswith('\n\n{}'.format(TwistOptions())))
