def METHOD_NAME(self):
    cmd = self.make_command(DummyCommand, {})
    self.assertState(
        True, False, False, False, "setup called by constructor")
    # start the command
    d = self.run_command()
    self.assertState(
        True, True, True, False, "started and running both set")
    # fail the command with an exception, and check the result
    cmd.failCommand()
    def check(_):
        self.assertState(
            True, False, True, False, "started and not running when done")
    d.addErrback(check)
    def checkresult(_):
        self.assertUpdates([], "updates processed")
    d.addCallback(checkresult)
    return d