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: entity_creation.rs
    path of file: ./repos/feather/feather/old/server/entity/src/broadcasters
    
    the code of the file until where you have to start completion: use feather_core::entitymeta::EntityMetadata;
use feather_core::network::packets::PacketEntityMetadata;
use feather_core::util::Position;
use feather_server_types::{
    CreationPacketCreator, EntitySendEvent, EntitySpawnEvent, Game, Network, NetworkId,
    PlayerJoinEvent, SpawnPacketCreator,
};
use fecs::{IntoQuery, Read, World};

/// When an entity is created and has a `CreationPacketCreator` and/or `SpawnPacketCreator`,

    
    fn send_existing_entities() {
        let mut test = Test::new();

        let player1 = test.player("player1", position!(1000.0, -5.0, 0.0));
        let player2 = test.player("player2", position!(2000.0, 2_138_901.0, 0.0));
        let player3 = test.player("player3", position!(950.0, 255.0, 0.0));

        test.handle(
            PlayerJoinEvent { player: player3 },
            on_player_join_send_existing_entities,
        );

        let mut players_sent = HashSet::new();
        for _ in 0..3 {
            let packet = test.sent::<PlayerInfo>(player3).unwrap();

            players_sent.insert(packet.uuid);
        }

        for expected in &[player1, player2, player3] {
            assert!(players_sent.contains(&test.uuid(*expected)));
        }
    }