
This way of syncing informers ensures all informers generated from these factories are synced. Informers are lazy loaded, and only created once a user calls .Informer() (which was why the .PollImmediate() worked). Asserting the number of synced types to ensure everything is set up correctly.