You could also assert that the action.command is the string you expect.