def METHOD_NAME():
    from moler.command import Command
    class NiceCommand(Command):
        def __init__(self, nice='', connection=None):
            super(NiceCommand, self).__init__(connection=connection)
            self.nice = nice
        def data_received(self, data, recv_time):
            if self.nice == 'nice':
                self.set_result({'nice': 'nice'})
        def __call__(self, timeout=None, *args, **kwargs):
            self.set_result({'nice': self.nice})
            return {'nice': self.nice}
    return NiceCommand