SyntheticBundleRule was added in
LPS-53601 to test integration point where we've applied the use of Registry api in the portal kernel or portal impl.
In fact, we do not need to test every concrete usages of Registry api, as long as we have one test to cover the usage of Registry api in core, we should be fine.
The goal of this task is going to clean up all the tests which use SyntheticBundleRule to test the integration point including:
- remove all the simple ones which only wants to test integration point
- refactor the ones which tests integration points and other logic in the target class into either unit test or module integration test.
- remove SyntheticBundleRule and related support