test(core): verify `importProvidersFrom` work correctly with `ModuleWithProviders` (#45787)
test(core): verify `importProvidersFrom` work correctly with `ModuleWithProviders` (#45787)

This commit adds a test to make sure the NgModule providers are collected correctly by the `importProvidersFrom` function when the `ModuleWithProviders` type is used and some providers are overridden.

PR Close #45787

gkalpak/angular,angular/angular,gnomeontherun/angular,angular/angular,angular-indonesia/angular,gnomeontherun/angular,angular-indonesia/angular,JiaLiPassion/angular,JiaLiPassion/angular,JiaLiPassion/angular,angular-indonesia/angular,gnomeontherun/angular,gkalpak/angular,JiaLiPassion/angular,angular-indonesia/angular,gnomeontherun/angular,gkalpak/angular,gkalpak/angular,angular/angular,angular/angular