async fn watch_annotations_no_annotations() -> Result<(), anyhow::Error> {
        let holder = Arc::new(Mutex::new(AnnotationHolder::new()));
        let proxy = spawn_annotation_controller_handler(holder.clone());
        let annotations = proxy.watch_annotations().await?.unwrap();
        assert_eq!(annotations.len(), 0);
        Ok(())
    }
// Test `watch_annotations` returns empty annotations if they have not been set yet.
Test `watch_annotations` returns empty annotations if they have not been set yet.
Test ` watch_annotations ` returns empty annotations if they have not been set yet .
async fn watch_annotations_no_annotations() -> Result<(), anyhow::Error> {
        let holder = Arc::new(Mutex::new(AnnotationHolder::new()));
        let proxy = spawn_annotation_controller_handler(holder.clone());
        let annotations = proxy.watch_annotations().await?.unwrap();
        assert_eq!(annotations.len(), 0);
        Ok(())
    }
async fn watch_annotations_no_annotations ( ) -> Result < ( ) , anyhow :: Error > { let holder = Arc :: new ( Mutex :: new ( AnnotationHolder :: new ( ) ) ) ; let proxy = spawn_annotation_controller_handler ( holder . clone ( ) ) ; let annotations = proxy . watch_annotations ( ) . await ? . unwrap ( ) ; assert_eq ! ( annotations len ( ) 0 ) ; Ok ( ( ) ) }
Test `watch_annotations` returns empty annotations if they have not been set yet.
Test ` watch_annotations ` returns empty annotations if they have not been set yet .