def METHOD_NAME(Filename=None, Bucket=None, Key=None, Callback=None,
                       ExtraArgs=None, Config=None):
    assert Filename == expect_filename
    assert Bucket == expect_bucket
    assert expect_key == Key
    assert expect_extra_args == ExtraArgs
    if expect_config or Config:
        for key, val in expect_config.items():
            assert getattr(Config, key) == val
    shutil.copyfile(__file__, Filename)
    Callback(os.path.getsize(Filename))