use Agent;
use crate::;
/// Creates a new IC agent connected to the PocketIC HTTP endpoint.
///
/// The test environment must be in live mode (call `env.live(true).await` first).
///
/// # Panics
///
/// Panics if the environment is not in live mode.
pub async