'should set env.command to TaskSubclass.name if possible'

@with_fakes
def test_should_set_env_command_to_name_attr(self):

    name = 'foo'
    def command():
        eq_(env.command, name)
    task = Fake(callable=True, expect_call=True).has_attr(name=name).calls(command)
    execute(task)
