You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: state.rs
    path of file: ./repos/fluvio/crates/fluvio-spu/src/replication/follower
    
    the code of the file until where you have to start completion: use std::{fmt::Display, sync::Arc};
use std::fmt::Debug;
use std::collections::{HashMap, hash_map::Entry};
use std::ops::{Deref, DerefMut};

use fluvio_controlplane::replica::Replica;
use tracing::{debug, warn, instrument};
use async_rwlock::RwLock;
use anyho
    
    async fn test_follower_creation() {
        let test_path = "/tmp/follower_init";
        ensure_clean_dir(test_path);

        let config = ReplicaConfig {
            base_dir: PathBuf::from(test_path).join("spu-5002"),
            ..Default::default()
        };

        let follower_replica: FollowerReplicaState<FileReplica> =
            FollowerReplicaState::create(LEADER, TEST_REPLICA.into(), config)
                .await
                .expect("create");

        // at this point, follower replica should be empty since we don't have time to sync up with leader
        assert_eq!(follower_replica.leo(), 0);
        assert_eq!(follower_replica.hw(), 0);
        assert!(PathBuf::from(test_path).join("spu-5002").exists());
    }