def METHOD_NAME():
    from lona.command_line.collect_static import collect_static
    with TemporaryDirectory() as tmp_dir:
        # create a file so the destination is not empty
        test_file_path = os.path.join(tmp_dir, 'foo.txt')
        with open(test_file_path, 'w+') as f:
            f.write('foo')
        # first run
        args = _generate_command_line_args(
            destination=tmp_dir,
            clean=False,
        )
        collect_static(args=args)
        assert os.path.exists(test_file_path)
        _check_javascript_client_src_files(destination=tmp_dir)
        _check_test_project_static_files(destination=tmp_dir)
        # second run
        args = _generate_command_line_args(
            destination=tmp_dir,
            clean=True,
        )
        collect_static(args=args)
        assert not os.path.exists(test_file_path)
        _check_javascript_client_src_files(destination=tmp_dir)
        _check_test_project_static_files(destination=tmp_dir)